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": "",
"discord": "",
"first_name": "TlecofGYf4OY",
"github": "c",
"image": "https://YByHkQjSzOHb.CvVe.com/lRgEf/7X5po1J75P",
"is_onboarded": false,
"last_name": "MeYmaikDKDdRRrlBt7",
"phone": "+1-263-591-9656"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "5NhtIHd6q",
"created_at": "2025-07-31T17:20:46.414Z",
"deletion_scheduled": false,
"discord": "nMrdG1ar8FdhCLBinQ",
"email": "IL5WGwY@zfr28zE.com",
"email_verified": "2025-07-31T17:20:46.414Z",
"first_name": "PjeS8HInO8Umw93EYcV8Dz1pi1i",
"github": "iIXeFgIlZY1OBoqWr05sfVEfzkkwYw",
"id": "08074736-2f20-4cc9-8b43-92a98dc4e6d3",
"image": "https://uYaXp5FXQLXb.VBUPlj0SrDbQ.com/tM9G/7g1ygW",
"is_onboarded": false,
"is_service_account": false,
"last_name": "d32NKP7wXGJJz86Q3IE7dV60gXp",
"name": "siE8aVuzwgPK2qDPebU",
"phone": "+1-710-834-4685",
"updated_at": "2025-07-31T17:20:46.414Z"
}