Acronis · JSON Structure

Account Management Token Response Structure

OAuth2 token response

Type: object Properties: 5
CybersecurityData ProtectionEndpoint Management

TokenResponse is a JSON Structure definition published by Acronis, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

access_token token_type expires_in refresh_token scope

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/acronis/refs/heads/main/json-structure/account-management-token-response-structure.json",
  "description": "OAuth2 token response",
  "type": "object",
  "properties": {
    "access_token": {
      "type": "string",
      "description": "JWT access token",
      "example": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
    },
    "token_type": {
      "type": "string",
      "enum": [
        "Bearer"
      ],
      "example": "Bearer"
    },
    "expires_in": {
      "type": "int32",
      "description": "Token lifetime in seconds",
      "example": 3600
    },
    "refresh_token": {
      "type": "string",
      "description": "Refresh token for obtaining new access tokens"
    },
    "scope": {
      "type": "string",
      "description": "Granted OAuth2 scopes"
    }
  },
  "name": "TokenResponse"
}