PATCH
/
v1
/
users
/
{user_id}
curl --request PATCH \
  --url https://api.ziplink.click/v1/users/{user_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "[email protected]",
  "first_name": "Test",
  "last_name": "User"
}'
{
  "confirmed_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "email": "[email protected]",
  "first_name": "Test",
  "id": "ab782971-4d79-47ab-8685-77cf5a34b2bb",
  "last_name": "User",
  "status": "active",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

ID of the user.

Example:

"ab782971-4d79-47ab-8685-77cf5a34b2bb"

Body

application/json

Update the user.

The body is of type object.

Response

200
application/json

OK

A user in the system.