latestOpenAPI 3.0.02026-08-10221235717.8 KB

e21ad140ec3c

public
ResourceDefinition
MatchingCriteria

Delete a Matching Criteria from a Resource Definition.

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.

delete/orgs/{orgId}/resources/defs/{defId}/criteria/{criteriaId}

Path parameters

orgIdstring required

The Organization ID.

defIdstring required

The Resource Definition ID.

criteriaIdstring required

The Matching Criteria ID.

Query parameters

forceboolean

If set to true, the Matching Criteria is deleted immediately, even if this action affects existing Active Resources.

Response

Record deleted.