Skip to main content
PATCH
Update a user

Authorizations

x-api-key
string
header
required

Headers

x-idempotency-key
string<uuid>
required

Unique key to ensure request idempotency. If the same key is used within a certain time window, the original response will be returned instead of executing the request again.

Path Parameters

user_id
string
required

Unique identifier of the user to update KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Body

application/json

Updated user details

Request body for updating a client user

first_name
string

Given name of the user

Minimum string length: 1
Example:

"John"

last_name
string

Surname of the user

Minimum string length: 1
Example:

"Doe"

role
enum<string>

Role that can be assigned to a client user. Available roles: admin (full access except issuances) and viewer (read-only access).

Available options:
admin,
viewer
Example:

"admin"

Response

user updated successfully