Skip to main content
The resource_restrictions functions are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.
Restricting a resource prevents roles bound at higher hierarchy levels (space, org, account) from granting access to it. Only space admins or users with the PROJECT_RESTRICT permission can perform these actions. Currently only PROJECT resources are supported.

List Resource Restrictions

List active resource restrictions the authenticated user is permitted to manage. Returns a paginated list of ResourceRestriction objects. Parameters
  • resourceType ("PROJECT", optional): Filter to a single resource type.
  • limit (number, optional): Maximum number of restrictions to return.
  • cursor (string, optional): Pagination cursor from a previous response.
  • client (ArizeClient, optional): An ArizeClient instance to use for the request.

Restrict a Resource

Mark a resource as restricted. This operation is idempotent. Returns a ResourceRestriction. Parameters
  • resourceId (string, required): The global ID of the resource to restrict. Must encode a project.
  • client (ArizeClient, optional): An ArizeClient instance to use for the request.

Unrestrict a Resource

Remove restriction from a resource. Returns void. Parameters
  • resourceId (string, required): The global ID of the resource to unrestrict.
  • client (ArizeClient, optional): An ArizeClient instance to use for the request.