Restrict a resource
Resource Restrictions
Restrict a resource
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. Onlyprojectresources 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
POST
Restrict a resource
Authorizations
Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format
Body
application/json
Body containing resource restriction creation parameters.
The ID of the resource to restrict
Example:
"RW50aXR5OjEyMzQ1"
Response
A resource restriction record
The created resource restriction record