Mark a resource as restricted. Only space admins or users with the RESOURCE_RESTRICT permission can perform this action. Idempotent.
Payload Requirements
resource_id: The ID for the resource.
Only project resources are currently supported. Other resource types are not currently supported and will return 400.Valid example
{ "resource_id": "TW9kZWw6MTIxOmFCY0Q=" }
Invalid example
{ "resource_id": "Not a project ID" }
Returns 400 — only Project / Model IDs are accepted
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
The ID of the resource to restrict
"RW50aXR5OjEyMzQ1"
A resource restriction record
The created resource restriction record