/dataset/record/public - Change a record’s public status
/dataset/record/public - Change a record’s public status
Changes the public status of a dataset record. By default, calling this endpoint immediately makes the record public. An optional public_date parameter can be used to schedule a future publish date, or to set the record back to “not public”.
Authentication
A pre-request script automatically fetches a bearer token before each request:
-
POSTs to
{{url}}/tokenwith{{apiuser}}and{{apipass}}credentials -
Stores the returned token in
{{token}} -
The token is sent as a
Bearertoken in theAuthorizationheader
Request Body (form-data)
Behavior
The server resolves the public date using the following logic:
-
If
public_dateis not provided, the record is made public immediately (current date/time). -
If
public_dateis provided, the record’s public date is set to that value — this can be used to schedule future publication or to revert a record to a non-public state.
Example Request
Response
A successful request returns HTTP 200 OK. The response body confirms the updated public status of the record.
