Remove a variable on apply
To withdraw the deletion intent before deploy, call SetVariable for the same key with the desired value (which overwrites the tombstone).
Rejected when the change set is not OPEN.
Scope: app:write
Authorization
bearerAuth Personal Access Token (PAT) or Service Access Token (SAT). Pass the token in the Authorization header: Bearer admp_...
In: header
Path Parameters
Identifier of the change set. Accepts either the short ID
(cs-<suffix>) or the canonical UUID.
1 <= lengthThe variable key to remove on apply.
^[A-Za-z_][A-Za-z0-9_]{0,62}$1 <= length <= 63Response Body
application/json
curl -X DELETE "https://api.admiral.io/api/v1/changesets/string/variables/string"{ "variable_entry": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "change_set_id": "14a1580e-9582-45fb-93f1-d323ee91538c", "key": "string", "value": "string", "type": "VARIABLE_TYPE_UNSPECIFIED", "sensitive": true, "created_at": "2023-01-15T01:30:15.01Z" }}Remove an entry DELETE
Rejected when the change set is not OPEN. Scope: `app:write`
Add or update an entry PUT
The `change_type` field selects the operation: - CREATE: add a new component. Requires `catalog_item_id`. Rejects if a component with the same name already exists in the application. - UPDATE: change an existing component. The name must match an existing component in the application. Only non-empty optional fields are recorded as changes. - DESTROY: schedule the component for terraform destroy at deploy. - ORPHAN: detach from management without destroying infrastructure. Rejected when the change set is not OPEN. Scope: `app:write`