Delete a Matching Criteria from a Resource Definition.
DELETE {{baseUrl}}/orgs/:orgId/resources/defs/:defId/criteria/:criteriaId?force=true
If there are no Active Resources that would match to a different Resource Definition when the current Matching Criteria is deleted, the Matching Criteria is deleted immediately.
If there are Active Resources that would match to a different Resource Definition, the request fails with HTTP status code 409 (Conflict). The response content will list all of affected Active Resources and their new matches.
The request can take an optional force
query parameter. If set to true
, the Matching Criteria is deleted immediately. Referenced Active Resources would match to a different Resource Definition during the next deployment in the target environment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
force | boolean | If set to true , the Matching Criteria is deleted immediately, even if this action affects existing Active Resources. |
|