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": "El7Oa",
"discord": "njk",
"first_name": "R",
"github": "UItblKwLaI5pVTKFy",
"image": "https://0.WTsQ5DqP46UQ.com/QWO5ztEjP8Yb/mHAfNTvYTFr",
"is_onboarded": true,
"last_name": "WX0twvMXDEMSBfqdLgq3j",
"phone": "+1-983-685-3077"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "9I5bRxH0RwKQpbH0kucaUYosIv",
"created_at": "2025-05-30T23:20:37.689Z",
"deletion_scheduled": false,
"discord": "a0H",
"email": "kR5CMH4@fBor61.com",
"email_verified": "2025-05-30T23:20:37.689Z",
"first_name": "78fUUAO9sYbCva0LI",
"github": "SkU",
"id": "60cb3aff-86f3-45f5-9a91-d6b2ebb2536e",
"image": "https://N35ixQge.6d1.com/2I3S/eRPxuGIrhT",
"is_onboarded": false,
"is_service_account": true,
"last_name": "",
"name": "8Vu6yIMes0GytF22DuzE",
"phone": "+1-489-720-4101",
"updated_at": "2025-05-30T23:20:37.689Z"
}