Skip to main content

Endpoint

POST https://api.apifycloud.io/api/v1/oauth/revoke

Authentication

Bearer token required. Scope: oauth:revoke

Request body

  • token (string, required) access token to revoke

Response

Returns success even if token is invalid or already revoked.

Errors

  • 400 invalid_request missing token or invalid JSON body
  • 401 unauthorized invalid auth context
  • 403 forbidden missing scope
  • 429 rate_limit_exceeded
  • 500 server_error

Example