DELETE
/
api
/
svc
/
v1
/
secrets
/
{id}
curl --request DELETE \
  --url https://{controlPlaneURL}/api/svc/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
123

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Secret Id of the secret.

Response

200
application/json
Deletes a secret and its versions along with its values and returns the count of the deleted secrets.

The response is of type number.