Skip to content

Delete a CI secret or variable

DELETE
/api/v3/organizations/{organisation}/ci/values/{name}
curl --request DELETE \
--url 'https://dashboard.quantcdn.io/api/v3/organizations/test-org/ci/values/DEPLOY_KEY?repo=acme%2Fweb' \
--header 'Authorization: Bearer <token>'

Deletes one value. It answers 204 also when the value does not exist. Needs the cloud:write scope and the delete_applications permission.

organisation
required
string

The organisation ID

Example
test-org
name
required
string

The name, such as DEPLOY_KEY

Example
DEPLOY_KEY
repo
string

Delete the repository’s value of this name. Leave out for the organisation’s value. Lower-cased by the server.

Example
acme/web

Deleted (or did not exist)

The organisation does not have CI runners