Impersonation Settings

Get Impersonation Settings

Returns Impersonation Settings, which determines if user impersonation is allowed for an organization.

get
https://global.api.konghq.com/v3/organizations/impersonation

Response

application/json

Response for Get Impersonation Settings endpoint

Get Impersonation Settings Response

enabledboolean

The organization has user impersonation enabled.

Example:true

get/organizations/impersonation
 
application/json

Update Impersonation Settings

Updates Impersonation Settings.

patch
https://global.api.konghq.com/v3/organizations/impersonation

Body

application/json

The request schema for adding a system account to a team.

enabledboolean

Indicates if user impersonation is allowed for the organization.

Example:true

Response

application/json

Response for Update Impersonation Settings endpoint

Update Impersonation Settings Response

enabledboolean

The organization has user impersonation enabled.

Example:true

patch/organizations/impersonation

Body

{ "enabled": false }
 
application/json

Personal Access Tokens

List PATs

List personal access tokens for a user.

get
https://global.api.konghq.com/v3/users/{userId}/access-tokens

Path Parameters

userIdstring(uuid)requiredread-only

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Response

application/json

A list response for a collection of personal access tokens.

* Additional properties are NOT allowed.
metaobject

Contains pagination query parameters and the total number of objects returned.

Show Child Parameters
dataarray[object]required

Properties of a personal access token.

* Additional properties are NOT allowed.
Show Child Parameters
get/users/{userId}/access-tokens
 
application/json