API → UsersUpdate your user
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
missing_payment_method
: The user is missing a payment method and has exceeded their free API call credits for the month.payment_method_failed
: The users payment method has failed.
put
/user$ curl -X PUT "https://api.zoo.dev/user" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"company": "b2Fz4eD3JIfx7XaKFAt09H5AkdBFV",
"discord": "PGHkCdG",
"first_name": "qlekxTA1p3X",
"github": "EiX2pawTuo4Dh5xoZi2",
"image": "https://.rBh.com/XZzeU8D/Rxi",
"is_onboarded": true,
"last_name": "d",
"phone": "+1-554-140-5516"
}'
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": false,
"company": "EwcVR5s",
"created_at": "2025-05-22T02:04:49.980Z",
"deletion_scheduled": false,
"discord": "jMYPFEUbT7I2fWFzXS0zpVCrpcoY",
"email": "QfV@.com",
"email_verified": "2025-05-22T02:04:49.980Z",
"first_name": "",
"github": "KWiy1aZReQFY4jMF2VLrQ",
"id": "5a66488d-f8e2-4927-ae1b-21ce7781e50d",
"image": "https://42GN1is.9QuI9M.com//Rgw2",
"is_onboarded": false,
"is_service_account": true,
"last_name": "u804kJ5h0Zmd6swN",
"name": "mCAmlGWUK3qcvPCK7nhRT",
"phone": "+1-325-917-5488",
"updated_at": "2025-05-22T02:04:49.980Z"
}