GitLab · JSON Structure

Gitlab Oauth2 Revoke Token Request Structure

RevokeTokenRequest from GitLab API

Type: object Properties: 3 Required: 3
CodePlatformSoftware DevelopmentSource Control

RevokeTokenRequest is a JSON Structure definition published by GitLab, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

client_id client_secret token

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-structure/gitlab-oauth2-revoke-token-request-structure.json",
  "name": "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"
  ]
}