GitLab · Schema

RevokeTokenRequest

RevokeTokenRequest from GitLab API

CodePlatformSoftware DevelopmentSource Control

Properties

Name Type Description
client_id string The application ID registered in GitLab.
client_secret string The application secret.
token string The access token or refresh token to revoke.
View JSON Schema on GitHub

JSON Schema

gitlab-oauth2-revoke-token-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-schema/gitlab-oauth2-revoke-token-request-schema.json",
  "title": "RevokeTokenRequest",
  "description": "RevokeTokenRequest from GitLab API",
  "type": "object",
  "properties": {
    "client_id": {
      "type": "string",
      "description": "The application ID registered in GitLab.",
      "example": "123456"
    },
    "client_secret": {
      "type": "string",
      "description": "The application secret.",
      "example": "example_value"
    },
    "token": {
      "type": "string",
      "description": "The access token or refresh token to revoke.",
      "example": "glpat-example-token"
    }
  },
  "required": [
    "client_id",
    "client_secret",
    "token"
  ]
}