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": "JlP4ftBXgjNd1lAE9I8",
"discord": "8vsdsVgOzz9",
"first_name": "cTAx3Enk",
"github": "FTpGHhqPRg0y1zzAjv6f",
"image": "https://Iq2nJx2X.PzXVp98S0.com//mK",
"is_onboarded": true,
"last_name": "Qdgr1feTSfAPE31quHVHa6q",
"phone": "+1-478-209-1510"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "dj",
"created_at": "2025-07-04T14:10:52.859Z",
"deletion_scheduled": true,
"discord": "n",
"email": "3erK@WKS.com",
"email_verified": "2025-07-04T14:10:52.859Z",
"first_name": "r055NGyfeSbRf7emYfexrPFYnV",
"github": "rgNrs3z4",
"id": "00f66745-2427-4e47-a4e1-fcede0ff7670",
"image": "https://amytlpWH.CB1OuW.com//R6K6o4HMW",
"is_onboarded": true,
"is_service_account": false,
"last_name": "XQbvYMZGdj3XubK9e5qwDf",
"name": "",
"phone": "+1-613-883-1856",
"updated_at": "2025-07-04T14:10:52.859Z"
}