Pular para o conteúdo principal
DELETE
/
api
/
workspace
/
{workspaceId}
/
api-keys
/
{keyId}
Revoke API key
curl --request DELETE \
  --url https://app.alana.shopping/api/workspace/{workspaceId}/api-keys/{keyId} \
  --header 'Authorization: Bearer <token>'
{
  "error": "UNAUTHORIZED",
  "details": {
    "message": "Missing or invalid authentication token"
  }
}

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>

Parâmetros de caminho

workspaceId
string
obrigatório

The workspace ID

Pattern: ^ws_[a-z0-9]+$
keyId
string
obrigatório

Resposta

API key revoked successfully

Last modified on April 13, 2026