Resource Restrictions
Restrict a resource
Changed onMark a resource as restricted. Only space admins or users with the the correct permissions can perform this action. Idempotent.
Payload Requirements
- resource_id: The global ID for the resource.
Valid examples
{ "resource_id": "TW9kZWw6MTIxOmFCY0Q=" }
{ "resource_id": "RGFzaGJvYXJkOjQ1NjphQmNE" }
Invalid example
{ "resource_id": "Not a valid global ID" }
Returns 400 — only resources with the correct type are accepted
<Note>This endpoint is in beta, read more here.</Note>
post/v2/resource-restrictions
Request
- Base URLhttps://api.arize.com
- URLhttps://api.arize.com/v2/resource-restrictions
- AuthHTTP bearer
Request body
Example request
{
"resource_id": "RW50aXR5OjEyMzQ1"
}Response
A resource restriction record
Example response
{
"resource_type": "PROJECT",
"resource_id": "TW9kZWw6MTIxOmFCY0Q="
}Changes
- warning
added the new
PROMPTenum value to theresponse property for the response status
- warning
- warning
added the new
DASHBOARDenum value to theresponse property for the response status
- warning