Me

Get My User Account

Returns the user account for the user identified in the token of the request.

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

Response

application/json

A get action response of a single user.

User

The user object contains information about an individual user who can use the Konnect application and API.

idstring(uuid)read-only

The User ID.

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

emailstring(email)

The email registered to the user.

<= 250 characters

Example:user@email.com

full_namestring

The User’s full name.

Match pattern:^[\w \W]+$

<= 250 characters

Example:Jane Doe

preferred_namestring

The User’s preferred name.

<= 250 characters

Example:Jane

activebooleanread-only

Returns True if a user has verified their email address.

Default:true

inferred_regionstringread-only

The Konnect region closest to the user’s IP address. This property might only be set for users on signup through Konnect’s build-in native authentication.

Example:us

created_atstring(date-time)read-only

The time stamp for the date the account was registered.

Example:2022-02-07T17:46:57.52Z

updated_atstring(date-time)read-only

A Unix timestamp representation of the most recent change to the User account.

Example:2022-10-08T17:00:00.52Z

get/users/me
 
application/json

Delete My User Account

Deletes the user account for the user identified in the token of the request.

delete
https://global.api.konghq.com/v2/users/me

Response

No Content

delete/users/me
 

Update My User Account

Updates the user account for the user identified in the token of the request.

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

Body

application/json

The request schema for the update user request.

full_namestring

The user’s full name.

Match pattern:^[\w \W]+$

<= 250 characters

Example:James C. Woods

preferred_namestring

The user’s desired name.

<= 250 characters

Example:Jimmy

Response

application/json

A get action response of a single user.

User

The user object contains information about an individual user who can use the Konnect application and API.

idstring(uuid)read-only

The User ID.

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

emailstring(email)

The email registered to the user.

<= 250 characters

Example:user@email.com

full_namestring

The User’s full name.

Match pattern:^[\w \W]+$

<= 250 characters

Example:Jane Doe

preferred_namestring

The User’s preferred name.

<= 250 characters

Example:Jane

activebooleanread-only

Returns True if a user has verified their email address.

Default:true

inferred_regionstringread-only

The Konnect region closest to the user’s IP address. This property might only be set for users on signup through Konnect’s build-in native authentication.

Example:us

created_atstring(date-time)read-only

The time stamp for the date the account was registered.

Example:2022-02-07T17:46:57.52Z

updated_atstring(date-time)read-only

A Unix timestamp representation of the most recent change to the User account.

Example:2022-10-08T17:00:00.52Z

patch/users/me

Body

{ "full_name": "James C Woods", "preferred_name": "Jimmy" }
 
application/json

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" }