Auth Server Scopes

Get an auth server scope

Changed on

Get a scope for given auth server.

get/v1/auth-servers/{authServerId}/scopes/{scopeId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

authServerId, string uuid required
Example:d32d905a-ed33-46a3-a093-d8f536af9a8a

The auth server ID

scopeId, string uuid required
Example:c5e12516-182c-4928-ae04-05374b3b1cca

The scope ID

Response

A scope

Scope required
id, string uuid required

The ID of the scope

name, string required

The name of the scope

description, string required

Description of the scope

default, boolean required

Specifies whether the scope is included by default in access tokens without being explicitly requested by the client. If the scope is not allowed by the client, it will not be included in the access token.

include_in_metadata, boolean required

Specifies whether to include the scope in the metadata document

enabled, boolean required

Specifies whether the scope is enabled. If the scope is not enabled, it cannot be requested by clients and will not be included in the access token.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the optional property type to the response with the status

    4 more changes in this revision