latestOpenAPI 3.1.02026-08-218667571.2 MB

a8ca30023371

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 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