Skip to main content
DELETE
/
auth
/
provider_keys
/
:keyUuid
Delete Provider Key
curl --request DELETE \
  --url https://api.example.com/auth/provider_keys/:keyUuid

Delete Provider Key

Permanently delete an AI provider API key from your account.

Endpoint

DELETE /auth/provider_keys/:keyUuid

Authentication

Requires JWT token authentication.

Path Parameters

ParameterTypeRequiredDescription
keyUuidstringYesThe UUID of the key to delete

Example Request

curl -X DELETE https://api.app.shinzo.ai/auth/provider_keys/pk_abc123def456 \
  -H "Authorization: Bearer <jwt_token>"

Response

{
  "message": "Provider key deleted successfully",
  "uuid": "pk_abc123def456",
  "deleted_at": "2025-01-20T16:00:00Z"
}

Status Codes

CodeDescription
200Key deleted successfully
401Invalid or missing JWT token
404Key not found
This action is permanent and cannot be undone. Any services using this key will lose access to the provider API.