DELETE/v1/policy/{policyUuid}/project/{projectUuid}

Removes a project from a policy

Requires permission POLICY_MANAGEMENT or POLICY_MANAGEMENT_DELETE

2 parameters
policyUuidstringrequired
The UUID of the policy to remove the project from
projectUuidstringrequired
The UUID of the project to remove from the policy

5 status codes
200The updated policy
globalbooleanoptional
includeChildrenbooleanoptional
invertTagMatchbooleanoptional
namestringrequired
onlyLatestProjectVersionbooleanoptional
operatorstringrequired
Allowed:ALLANY
policyConditionsarray<object>optional
projectsarray<object>optional
tagsarray<object>optional
uuidstringrequired
violationStatestringrequired
Allowed:INFOWARNFAIL
304The policy does not have the specified project assigned
401Unauthorized
403Access to the requested project is forbidden
detailstringrequired
Human-readable explanation specific to this occurrence of the problem
instancestringoptional
Reference URI that identifies the specific occurrence of the problem
statusintegerrequired
HTTP status code generated by the origin server for this occurrence of the problem
titlestringrequired
Short, human-readable summary of the problem type
typestringoptional
A URI reference that identifies the problem type
404The policy or project could not be found

Error handling

A 401 is returned: Unauthorized. A 403 is returned: Access to the requested project is forbidden. A 404 is returned: The policy or project could not be found.