PATCH
/
customers
/
{customerID}
/
users
/
{userID}
curl --request PATCH \
  --url https://api.joinworth.com/auth/api/v1/customers/{customerID}/users/{userID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "first_name": "New",
  "last_name": "Name"
}'
{
  "status": "success",
  "message": "User details updated successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

customerID
string
required
Example:

"22f210e4-4455-4107-b132-97e8478546ea"

userID
string
required
Example:

"f4291f42-89de-4848-b393-adcaef006ffa"

Body

application/json
first_name
string
required
last_name
string
required

Response

200
application/json; charset=utf-8
OK
status
string
required
message
string
required