Assign Projects to Governance Policy
Assigns one or more projects to a governance policy. A project already on a different policy is moved to this one. This is a partial-success operation. Projects that exist are assigned and returned in `assignedProjectIds`, while ids that do not exist in the organization are reported in `notFoundProjectIds` instead of failing the request. `count` is the number now assigned (re-assigning an already-enrolled project still counts it).
Path parameters
policyId
The unique identifier of the governance policy.
Headers
CONFIDENT_API_KEY
The organization API key for your Confident AI organization.
Request
This endpoint expects an object.
projectIds
The ids of the projects to assign or unassign.
Response
success
Indicates if the request was successful
data