/user/
Description:
The /user/{userId}
endpoint allows updating the details of a specific user identified by their unique userId.
Method:
PATCH
Request Payload:
Parameter | Type | Description |
---|---|---|
firstName | string | The updated first name of the user. |
lastName | string | The updated last name of the user. |
ipi | string | The updated IPI (Interested Parties Information) of the user. |
role | string | The updated role of the user. |
nickName | string | The updated nickname of the user. |
userType | string | The updated type of user. |
phone (Optional) | string | The updated phone number of the user. |
country (Optional) | string | The updated country of the user. |
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
User ID
success
The response is of type object
.