Create Project Policy

Creates a custom project policy from a set of permissions. Use GET /v1/organization/permissions to discover assignable permission ids.

Path parameters

projectIdstringRequired
The unique identifier of the project.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Request

This endpoint expects an object.
namestringRequired
Name of the policy
permissionIdslist of stringsRequired
The ids of the permissions granted by this policy
descriptionstring or nullOptional
Optional description of the policy

Response

successboolean
Indicates if the request was successful
dataobject