Get My Permissions

Returns the permissions for the current user

get
https://global.api.konghq.com/v2/users/me/permissions

Query Parameters

filterobject

Filter permissions returned in the response.

Show Child Parameters

Response

application/json

Example response

dataarray[object]
Show Child Parameters
get/users/me/permissions
 
application/json

Get My Organization

Returns the organization of the user identified in the token of the request.

get
https://global.api.konghq.com/v2/organizations/me

Response

application/json

Example response

idstring(uuid)read-only

UUID of the organization.

namestring

Name of the organization.

owner_idstring

Owner ID of the organization.

login_pathstring

Path to organization-specific login when single sign on (SSO) is enabled. Blank otherwise.

created_atstring(date-time)read-only

Date the organization was created.

updated_atstring(date-time)read-only

Date the organization was last updated.

statestring

State of the organization

Allowed values:activeinactivedeletingdeleted

retention_period_daysinteger

The number of days an organization spends inactive before being deleted.

get/organizations/me
 
application/json

Updates the current user's organization

This operation allows you to change the organization’s owner. The new user must be part of the organization’s admin team.

patch
https://global.api.konghq.com/v2/organizations/me

Body

application/json

The request schema to update an organization.

owner_idstring

The user id of the new owner of the organization. Must be a member of the organization’s admin team.

Example:YOUR_OWNER_ID

namestring

The new name of the organization.

Example:Kong Inc

Response

application/json

Example response

idstring(uuid)read-only

UUID of the organization.

namestring

Name of the organization.

owner_idstring

Owner ID of the organization.

login_pathstring

Path to organization-specific login when single sign on (SSO) is enabled. Blank otherwise.

created_atstring(date-time)read-only

Date the organization was created.

updated_atstring(date-time)read-only

Date the organization was last updated.

statestring

State of the organization

Allowed values:activeinactivedeletingdeleted

retention_period_daysinteger

The number of days an organization spends inactive before being deleted.

patch/organizations/me

Body

{ "owner_id": "df120cb4-f60b-47bc-a2f8-6a28e6a3c63b", "name": "Kong Inc" }
 
application/json

Managed System Accounts - Roles

List Roles (Internal)

Fetch assigned roles for a managed system account. Returns 400 if any filter parameters are invalid.

get
https://global.api.konghq.com/v2/internal/system-accounts/{accountId}/assigned-roles

Query Parameters

filterobject

Filter roles returned in the response.

Show Child Parameters

Path Parameters

accountIdstringrequired

ID of the system account.

Response

application/json

A paginated list response for a collection of parameterized assigned roles.

metaobject

returns the pagination information

Show Child Parameters
dataarray[object]

A parameterized assigned role is a role that has been assigned to a managed system account with additional parameters.

Example:{"id":"54cc6168-ebb1-4300-8168-d62a0dd08fc8","role_name":"Connector","entity_id":"18ee2573-dec0-4b83-be99-fa7700bcdc61","entity_type_name":"Mesh Control Planes","entity_region":"us","parameters":{"zoneName":"zone3"}}

Show Child Parameters
get/internal/system-accounts/{accountId}/assigned-roles
 
application/json