Box · Schema

Token revocation request

A request to revoke an OAuth 2.0 token

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing

Properties

Name Type Description
client_id string The Client ID of the application requesting to revoke the access token.
client_secret string The client secret of the application requesting to revoke an access token.
token string The access token to revoke.
View JSON Schema on GitHub

JSON Schema

box-postoauth2revoke-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PostOAuth2Revoke",
  "title": "Token revocation request",
  "type": "object",
  "description": "A request to revoke an OAuth 2.0 token",
  "required": [
    "grant_type"
  ],
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The Client ID of the application requesting to revoke the\naccess token.",
      "example": "ly1nj6n11vionaie65emwzk575hnnmrk"
    },
    "client_secret": {
      "type": "string",
      "description": "The client secret of the application requesting to revoke\nan access token.",
      "example": "hOzsTeFlT6ko0dme22uGbQal04SBPYc1"
    },
    "token": {
      "type": "string",
      "format": "token",
      "description": "The access token to revoke.",
      "example": "n22JPxrh18m4Y0wIZPIqYZK7VRrsMTWW"
    }
  }
}