Users

Update an individual user.

patch/v3/users/{userId}

Request

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

Path parameters

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

The ID of the user being deleted.

Request body

object required
full_name, string

The user's full name.

preferred_name, string

The user's desired name.

Example request

{
  "full_name": "James C. Woods",
  "preferred_name": "Jimmy"
}

Response

A get action response of a single user.

User required

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

id, string uuid

The User ID.

email, string email

The email registered to the user.

full_name, string

The User's full name.

preferred_name, string

The User's preferred name.

active, boolean

Returns True if a user has verified their email address.

inferred_region, string

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.

created_at, string date-time

The time stamp for the date the account was registered.

updated_at, string date-time

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

Example response

{
  "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "email": "user@email.com",
  "full_name": "Test User",
  "preferred_name": "test",
  "active": true,
  "inferred_region": "us",
  "created_at": "2022-02-07T17:46:57.52Z",
  "updated_at": "2022-10-08T17:00:00.52Z"
}

Changes

    • warning

      removed the optional property account_type from the response with the status

    • warning

      added the new 401.00 enum value to the status response property for the response status

    • warning

      added the new 403.00 enum value to the status response property for the response status

    1 more change in this revision