Delete Secret
Endpoint: DELETE /api/secrets/{key}
Deletes a secret from your Conductor cluster.
Path parameters
| Parameter | Description | Type | Required/ Optional |
|---|---|---|---|
| key | The secret key name to delete. | string | Required. |
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.