API → UsersUpdate your user

Parameters

Name

Type

Req.

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
put
/user
$ curl -X PUT "https://api.zoo.dev/user" \
	--header "Authorization: Bearer $TOKEN" \
	--header "Content-Type: application/json" \
	--data '{
  "company": "RxbDaRZphMcjAaj3N6",
  "discord": "uqNNQgpeMxh5zlTS",
  "first_name": "poKPbYaTMRtYDoML6yb1iDZhsh3",
  "github": "2cfT39qrXs2UyQ",
  "image": "https://lHYc2bN.RN0Jh7st63A.com/QxLM9uIk70S/gOJ8oxx3YJ",
  "last_name": "c6IywufdRiv",
  "phone": "+1-418-516-5323"
}'
200 OK
Response
{
  "block": "payment_method_failed",
  "can_train_on_data": false,
  "company": "4BEGRf1fq0VV3aw3qnUk",
  "created_at": "2024-04-18T22:05:39.370Z",
  "discord": "f8m8S35aVgFb6E36sAOK87Srx3nu",
  "email": "ui43fANoZ@2E7EokXp2N.com",
  "email_verified": "2024-04-18T22:05:39.370Z",
  "first_name": "SSg4iLzFjdMWtE8vDBAUpu5j",
  "github": "arzaztEC1kks",
  "id": "2ca02c5e-befa-4107-83d6-d4871dc49749",
  "image": "https://q.M6opN4zG.com/Hx1N/Eta",
  "is_service_account": true,
  "last_name": "4vtaVg8r0kjFb9p",
  "name": "4wQqiGdzo0XhJTV2PJ",
  "phone": "+1-238-567-6909",
  "updated_at": "2024-04-18T22:05:39.370Z"
}