API → Users → Update your user
Parameters
Name
Type
Req.
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": "WVoSBENhaVafuFz",
"discord": "WEtjxzCKa6EGiLtINHSYvFOu",
"first_name": "V4E",
"github": "jM",
"image": "https://eC235Xfgz.uSPQwl.com/qaqbAW/RHqfD9",
"last_name": "wjjVlt5W0ADdA8MhIoOhbtalPj",
"phone": "+1-285-411-9560"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "nf",
"created_at": "2025-02-11T16:13:42.123Z",
"discord": "M2nEdB",
"email": "ZgVGI0JC@yT.com",
"email_verified": "2025-02-11T16:13:42.123Z",
"first_name": "8jRvpiRdLpM2tab4pPGpAy5WRIzZo",
"github": "awNMv4nm",
"id": "7aa85ef0-c69f-48d6-bf5b-178ac0970b95",
"image": "https://e.BEiVZUNiY.com//05LOLf30pq2",
"is_service_account": true,
"last_name": "k",
"name": "NkrYu69bnmVYBfZr4L65f7vAfRp",
"phone": "+1-912-601-9576",
"updated_at": "2025-02-11T16:13:42.123Z"
}