cURL
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": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "mobile": "<string>", "subrole": { "id": "<string>", "code": "<string>", "label": "<string>" }, "status": "ACTIVE" }'
{ "status": "success", "message": "User details updated successfully" }
Update user details for a specific customer.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
OK
The response is of type object.
object
Was this page helpful?