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": "HquTFQxM",
"discord": "MNsa7ahM",
"first_name": "iCUD4VFjeMiXM07bj9eZ2WEQDJE6fP",
"github": "WKBIDHg9SIxOixYl2",
"image": "https://k3sRFGN2MEc.ccau5SYmHgzn.com/bB7EQPnmh56m/zYMkD3cVd",
"is_onboarded": false,
"last_name": "RnhnGtbrqRsTT4pxbXaUFkaHUb0XR",
"phone": "+1-516-539-1335"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "gCD9tOn4wL7amA2dmyXgC1K1Kebm",
"created_at": "2025-06-13T18:06:58.528Z",
"deletion_scheduled": false,
"discord": "ap8xGveBG9w4BYfbw4R",
"email": "@G.com",
"email_verified": "2025-06-13T18:06:58.528Z",
"first_name": "1puzVzYtWtA7",
"github": "",
"id": "fdade60d-049d-4801-80a4-73628c441676",
"image": "https://Ebaf6YaagQk.0cWt4KEy0Oa.com/VjpVWcB0/GC51",
"is_onboarded": false,
"is_service_account": false,
"last_name": "Bhxn5N9OMnmS8Yt2u",
"name": "4hayvme7baXH6fJ1cMr9zuat1uI",
"phone": "+1-202-839-4339",
"updated_at": "2025-06-13T18:06:58.528Z"
}