Delete a CI secret or variable
DELETE
/api/v3/organizations/{organisation}/ci/values/{name}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/test-org/ci/values/DEPLOY_KEY?repo=acme%2Fweb';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
Example
test-orgname
required
string
The name, such as DEPLOY_KEY
Example
DEPLOY_KEYQuery Parameters
Section titled “Query Parameters”repo
string
Delete the repository’s value of this name. Leave out for the organisation’s value. Lower-cased by the server.
Example
acme/webResponses
Section titled “Responses”Deleted (or did not exist)
The organisation does not have CI runners
