Unassign Projects from Governance Policy

Removes one or more projects from a governance policy. This is a partial-success operation. Projects currently on this policy are removed and returned in unassignedProjectIds, while ids that are not on this policy (unknown, foreign, or on another policy) are reported in skippedProjectIds instead of failing the request. count is the number removed.

Path parameters

policyIdstringRequired
The unique identifier of the governance policy.

Headers

CONFIDENT_API_KEYstringRequired
The organization API key for your Confident AI organization.

Request

This endpoint expects an object.
projectIdslist of stringsRequired
The ids of the projects to assign or unassign.

Response

successboolean
Indicates if the request was successful
dataobject