Admin APIs
block-dataset-restrictions

Set Access Grant

Upsert the served lag for (client_id, dataset_id, cut) — legacy single-row path (no rationale, no bulk-save). The Manage Data Restrictions admin UI uses bulk-update/ below instead.

Omit expected_row_version to create. Include it to update the existing row under optimistic concurrency. served_lag=null records "no access"; clients should DELETE to clear the restriction entirely (which, under default-deny, is equivalent to no access).

put/api/v1/admin/block/dataset-restrictions

Request

  • Base URL: https://carbonarc.ai (the document declares no server; this is the origin it was published from)
  • URL: https://carbonarc.ai/api/v1/admin/block/dataset-restrictions
  • Auth: OAuth 2 (authorization code, authorization URL authorize, token URL token)

Request body

client_idstring uuid required
dataset_idstring required
cutstring nullable
served_lagstring nullable
expected_row_versioninteger nullable

Response

Successful Response

idstring uuid required
client_idstring uuid required
client_namestring nullable
client_external_idstring nullable
dataset_idstring required
cutstring nullable
accessboolean
sample_accessboolean
served_lagstring nullable
served_lag_is_staleboolean
row_versioninteger required
created_atstring date-time required
updated_atstring date-time required
created_bystring nullable
updated_bystring nullable
previous_rationalestring nullable

Changes

No recorded changes to this operation across all 4 revisions of this API.