Skip to main content
DELETE
/
api
/
secrets
/
{key}
Delete secret
curl --request DELETE \
  --url https://api.example.com/api/secrets/{key} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Secret STRIPE_API_KEY has been deleted successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

key
string
required

Secret key identifier

Response

Secret deleted successfully

success
boolean
message
string