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": "qUF8",
"discord": "Y4m",
"first_name": "eAqmUoAHY",
"github": "2IfvI",
"image": "https://pVplKgFgY.n.com/NZ6IySY/y",
"last_name": "8x78iMQQE6qHgo5T",
"phone": "+1-545-581-1320"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "w2ShXJS",
"created_at": "2025-03-12T01:38:00.237Z",
"discord": "M7apA5WRJGFkcQr",
"email": "DIl8l37mig@VnfZQBv.com",
"email_verified": "2025-03-12T01:38:00.238Z",
"first_name": "pnw6aruCySTdCosDbNhWqV",
"github": "mFTHGw47herd61MJ2ZFjlP2i3",
"id": "e1c6e602-de37-41b4-ae72-7df18fd4279a",
"image": "https://4EfBXgl.ftw.com/dClBEQFhJ/RyY75YB",
"is_service_account": false,
"last_name": "S6xbw6lcGE4HPBSve6ULa5SlUB",
"name": "HgIDoxQXZnhTbVQDrcJvla5aOI",
"phone": "+1-130-445-2699",
"updated_at": "2025-03-12T01:38:00.238Z"
}