Vault
Delete a vault secret
Permanently delete a vault secret by name. Deletion is idempotent - calling against a non-existent secret still returns 200 success.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
secretName*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X DELETE "https://example.com/api/vault/string" \ -H "Content-Type: application/json" \ -d '{ "workosOrganizationId": "org_01HXYZ123ABCDEFG" }'{ "success": true, "message": "Secret deleted successfully"}