Organization Governance Policies

Assign Projects to Governance Policy

Changed on

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).

post/v1/organization/governance-policies/{policyId}/assign

Request

  • Base URL
    https://api.confident-ai.com
  • Auth
    none declared

Path parameters

policyIdstring required

The unique identifier of the governance policy

Request body

projectIdsstring[] required

The ids of the projects to assign or unassign.

Response

successboolean required

Indicates if the request was successful

Changes

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • breaking

      removed the required property / from the response with the status

    • breaking

      removed the required property / from the response with the status