Skip to content

Delete a secret

DELETE
/api/v3/organizations/{api_organisation}/applications/{api_application}/environments/{api_environment}/secrets/{api_secret}
curl --request DELETE \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/applications/example/environments/example/secrets/example \
--header 'Authorization: Bearer <token>'

Deletes the secret. The change takes effect on the next redeploy of the environment. A 200 with warnings means the deployed revision still references the secret and cannot start a replacement task until it is redeployed.

api_organisation
required
string

The organisation ID

api_application
required
string

The application ID

api_environment
required
string

The environment ID

api_secret
required
string
/^[A-Za-z_][A-Za-z0-9_.-]*$/

The secret key

The secret is deleted, with warnings from Quant Cloud

Media typeapplication/json
object
warnings
required
Array<string>
Examplegenerated
{
"warnings": [
"example"
]
}

The secret is deleted (or did not exist). It takes effect on the next redeploy.

The key is not valid