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": "Cw5DyEJTx6WyGb4eCm9DEbLW3n",
"discord": "YqT9g27yAZmhpoOInZT14Zq8U8cg",
"first_name": "9TAyQ",
"github": "xqsiPWuIEY7MLqtO8cb0N1",
"image": "https://N7nM8bL3.Rfy0WRts.com/wLVZJxMFa/gonO9N6jpY",
"is_onboarded": true,
"last_name": "eIIXNS6SJjDq3AyJMQ18H",
"phone": "+1-203-354-3279"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "yHoEtcq44g",
"created_at": "2025-07-10T11:07:29.398Z",
"deletion_scheduled": true,
"discord": "aZ03MXbmCuwIBiCEgW1fdxqWHuaySl",
"email": "nk0bY@ess6Tv0kRu.com",
"email_verified": "2025-07-10T11:07:29.398Z",
"first_name": "Dl5Ckuo",
"github": "qEHubbgWn70XzdnuOLPcX4k",
"id": "8af622e0-0a17-46dc-9150-b83a5888491c",
"image": "https://lydDLJ.GWnoAvJG.com//Ep9q7Df",
"is_onboarded": false,
"is_service_account": true,
"last_name": "TbblXCFfpMh",
"name": "SLsFZrvKZ7MO3rzLXMpW4KU",
"phone": "+1-635-499-5983",
"updated_at": "2025-07-10T11:07:29.398Z"
}