Skip to main content
PATCH
/
v1
/
users
/
{id}
Update an User
curl --request PATCH \
  --url https://sandbox-api.borderless.xyz/v1/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "firstName": "John",
  "lastName": "Doe",
  "businessTitle": "Manager"
}
'
{
  "id": "<string>",
  "email": "<string>",
  "firstName": "<string>",
  "lastName": "<string>",
  "businessTitle": "<string>",
  "role": "OWNER",
  "deleted": true,
  "deletedAt": "2023-11-07T05:31:56Z",
  "mfaEnabled": true,
  "dashboardPermissions": [
    "OrganizationApiKeysGenerate"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
firstName
string

The first name of the user.

Required string length: 2 - 50
Example:

"John"

lastName
string

The last name of the user.

Required string length: 3 - 50
Example:

"Doe"

businessTitle
string

The business title of the user.

Required string length: 3 - 50
Example:

"Manager"

Response

id
string
required
email
string
required
firstName
string | null
required
lastName
string | null
required
businessTitle
string | null
required
role
enum<string>
required
Available options:
OWNER,
VIEWER,
CUSTOM
deleted
boolean
required
deletedAt
string<date-time> | null
required
mfaEnabled
boolean
required
dashboardPermissions
enum<string>[]
Available options:
OrganizationApiKeysGenerate,
OrganizationApiKeysRegenerate,
OrganizationMfaEnable,
PermissionGroupCreate,
PermissionGroupUpdate,
PermissionGroupDelete,
PermissionGroupUserAdd,
PermissionGroupUserDelete,
UserCreate,
UserUpdate,
UserDelete,
UserChangeRole,
UserMfaEnable,
AccountCreate,
AccountAssetAddressAdd,
IdentityCreate,
IdentityUpdate,
IdentityDelete,
IdentityDocumentsUpload,
ComplianceCheckTosLinkManage,
ComplianceCheckStart,
PaymentInstructionCreate,
PaymentInstructionDelete,
TransactionAllCreate,
TransactionAllCancel,
TransactionAllExport,
WebhookPublicKeysGenerate,
WebhookCreate,
WebhookUpdate,
WebhookDelete