Delete a Resource Definition.
DELETE {{baseUrl}}/orgs/:orgId/resources/defs/:defId?force=true
If there are no Active Resources provisioned via the current definition, the Resource Definition is deleted immediately.
If there are Active Resources provisioned via the current definition, the request fails. The response will describe the changes to the affected Active Resources if operation is forced.
The request can take an optional force
query parameter. If set to true
, the current Resource Definition is marked as pending deletion and will be deleted (purged) as soon as no existing Active Resources reference it. With the next deployment matching criteria for Resources will be re-evaluated, and current Active Resources for the target environment would be either linked to another matching Resource Definition or decommissioned and created using the new or default Resource Definition (when available).
The Resource Definition that has been marked for deletion cannot be used to provision new resources.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
force | boolean | If set to true , will mark the Resource Definition for deletion, even if it affects existing Active Resources. |
|