Skip to main content
PATCH
/
identity
/
v1
/
users
/
{id}
Updates profile fields for a user in a downstream organization.
curl --request PATCH \
  --url https://api.sandbox.tesouro.com/identity/v1/users/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address1": "<string>",
  "address2": "<string>",
  "city": "<string>",
  "country": "<string>",
  "jobTitle": "<string>",
  "name": "<string>",
  "phoneNumber": "<string>",
  "postalCode": "<string>",
  "stateOrProvince": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "email": "<string>",
  "name": "<string>",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<string>",
  "address1": "<string>",
  "address2": "<string>",
  "city": "<string>",
  "country": "<string>",
  "jobTitle": "<string>",
  "phoneNumber": "<string>",
  "postalCode": "<string>",
  "stateOrProvince": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The user ID to update.

Body

Cancellation token.

address1
null | string
address2
null | string
city
null | string
country
null | string
jobTitle
null | string
name
null | string
phoneNumber
null | string
postalCode
null | string
stateOrProvince
null | string

Response

User updated successfully.

id
string<uuid>
required
email
string
required
name
string
required
organizationId
string<uuid>
required
status
string
required
address1
null | string
address2
null | string
city
null | string
country
null | string
jobTitle
null | string
phoneNumber
null | string
postalCode
null | string
stateOrProvince
null | string