WSO2 · JSON Structure

Admin Api Gateway Response With Token Structure

Platform gateway response including the one-time registration token (POST create or regenerate-token).

Type: Properties: 0
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Gateway Response With Token is a JSON Structure definition published by WSO2. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

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/wso2/refs/heads/main/json-structure/admin-api-gateway-response-with-token-structure.json",
  "name": "Gateway Response With Token",
  "description": "Platform gateway response including the one-time registration token (POST create or regenerate-token).",
  "allOf": [
    {
      "$ref": "#/components/schemas/PlatformGatewayResponse"
    },
    {
      "type": "object",
      "properties": {
        "registrationToken": {
          "type": "string",
          "description": "Registration token (returned only once on create or regenerate). Use as api-key when connecting\nthe gateway to the control plane WebSocket. Store e.g. as GATEWAY_REGISTRATION_TOKEN.\n"
        }
      }
    }
  ]
}