Update My User Account Password

Update the password of the user identified in the token of the request.

patch
https://global.api.konghq.com/v2/users/me/password

Body

application/json
old_passwordstringrequired

Old password.

new_passwordstringrequired

New Password.

Response

Accepted

patch/users/me/password

Body

{ "old_password": "old_password", "new_password": "new_password" }
 

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