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": "FdZJlecvZNWcarvEpC5GC3K",
"discord": "3w5K3hNAHTJZQUKtZ8iO0Bs",
"first_name": "TBJYpskZzzeC9bFwgfcR9zDntNkfKK",
"github": "JDQMUR7x6MG4IAKx",
"image": "https://yP.1IxsuVV.com//YKyRD",
"last_name": "nw2QYV0NdYO4xAWyXUuU2ldTdtu5aD",
"phone": "+1-893-761-3835"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "ruvtzcstpC",
"created_at": "2025-04-21T20:02:47.730Z",
"discord": "7tCnHNXLqSDNUcy",
"email": "@pFOIr.com",
"email_verified": "2025-04-21T20:02:47.730Z",
"first_name": "PRRwWE0Xn3U8w3kh",
"github": "COkr",
"id": "feb06239-b050-4a63-900b-91d09dc4d37d",
"image": "https://HUG6wFC11w.hefB5xzA.com/UFjtFnSsnN9E/fx6KC8opz6",
"is_service_account": true,
"last_name": "35Xoovo",
"name": "YxwJC7UU3kxYUbN",
"phone": "+1-268-501-9778",
"updated_at": "2025-04-21T20:02:47.730Z"
}