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": "DtWGy7IVTtzouDlsV4dux9TF",
  "discord": "nB3hMsEbY3ayLNMdvzHcFaM",
  "first_name": "VJSQF",
  "github": "PXCQ8KVG98r4yoJYQ7c1BRz9Gam",
  "image": "https://9f4aD4b6wdef.p1u08oX.com/zW/6bgal",
  "last_name": "KRGr5H5wA6DL3zpAz3vS",
  "phone": "+1-931-343-2665"
}'
200 OK
Response
{
  "block": "payment_method_failed",
  "can_train_on_data": true,
  "company": "4l6Xqn631CsaHOirwBWOSKoG",
  "created_at": "2024-09-07T21:57:24.935Z",
  "discord": "FlebLJMT9xTDrWEoWlbH",
  "email": "EDFPlTr1w@cX99J.com",
  "email_verified": "2024-09-07T21:57:24.935Z",
  "first_name": "mEj1mMOUPFkwZx0z6XWNoGi09N2stR",
  "github": "WM4zhgFXganYS17MnpQwDFSgqe",
  "id": "6c7b9f2b-bba0-4b1c-be47-d6118636aea4",
  "image": "https://CQu7LXWlEZ6Y.FmS4bXBaiJu.com/XprVbEy9o5mb/P5",
  "is_service_account": true,
  "last_name": "Xj593axX",
  "name": "IB7fh5zKgrQeil",
  "phone": "+1-888-248-4847",
  "updated_at": "2024-09-07T21:57:24.935Z"
}