Skip to content

Detach a resource from an application environment

DELETE
/api/v3/organizations/{organisation}/resources/{resource}/attachments/{application}/{environment}
curl --request DELETE \
--url https://dashboard.quantcdn.io/api/v3/organizations/test-org/resources/res-abc123/attachments/test-app/production \
--header 'Authorization: Bearer <token>'

Removes the injected credentials and redeploys the environment so that it stops referencing them, which interrupts the environment briefly. The resource and its contents are not deleted.

organisation
required
string

The organisation ID

Example
test-org
resource
required
string

The resource ID

Example
res-abc123
application
required
string

The application ID

Example
test-app
environment
required
string

The environment ID

Example
production

Detached; the environment is redeploying

No such attachment