Skip to main content

Delete Secret

Endpoint: DELETE /api/secrets/{key}

Deletes a secret from your Conductor cluster.

Path parameters

ParameterDescriptionTypeRequired/ Optional
keyThe secret key name to delete.stringRequired.

Response

Returns 200 OK, indicating that the secret is deleted. Returns 500 if an invalid secret key is provided.

Examples

Delete a secret

Request

curl -X 'DELETE' \
'https://<YOUR-SERVER-URL>/api/secrets/someSecret' \
-H 'accept: application/json' \
-H 'X-Authorization: <TOKEN>'

Response

Returns 200 OK, indicating that the secret is deleted.