Update Project Policy

Updates a custom project policy's name, description, or permissions.

Path parameters

projectIdstringRequired
The unique identifier of the project.
policyIdstringRequired
The unique identifier of the policy.

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