Refresh a dataset's columns
This endpoint queues a job to refresh the list of columns for the given dataset. The job status can then be checked with the check refresh columns status endpoint.
Request schema
Path parameters
dataset_id
integerrequired
ID of the dataset
Header parameters
Authorization
stringrequired
HTTP: basicAuth
HTTP AuthorizationScheme: basic
Http + 1.1
POST
https://app.getcensus.com/api/v1/datasets/{dataset_id}/refresh_columns
POST /api/v1/datasets/{dataset_id}/refresh_columns HTTP/1.1 Authorization: Bearer REPLACE_BEARER_TOKEN Host: app.getcensus.com
Responses
200
Successfully triggered a refresh of the dataset's columns.
404
Resource not found.
200
refresh_key
integer
The key that can be used to check the status of the refresh job.
example:
404
status
integer
HTTP status code.
enum:
{ "refresh_key": 1647978948 }