Revoke an API token
DELETE
Permanently revokes the API token identified by its SHA-256 hash. Requires admin access.
BearerAuthheader
AuthorizationBearer <JWT>Admin token, API token issued via /api-tokens, or an OIDC JWT access token issued by the configured OIDC provider.
token_hash*stringSHA-256 hex digest identifying the token.
Token successfully revoked.
curl -X DELETE 'https://example.com/api/hub/api-tokens/string'Example Response
Empty