{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/main/json-schema/gitlab-revoke-token-request-schema.json",
  "title": "RevokeTokenRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gitlab-tokens-api-openapi.yml#/components/schemas/RevokeTokenRequest",
  "type": "object",
  "required": [
    "client_id",
    "client_secret",
    "token"
  ],
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The application ID registered in GitLab."
    },
    "client_secret": {
      "type": "string",
      "description": "The application secret."
    },
    "token": {
      "type": "string",
      "description": "The access token or refresh token to revoke."
    }
  }
}