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": "g7Slycb5DPs3MVpYS",
"discord": "tNrm",
"first_name": "CLTqFoz3QeOde2dA3OTJ",
"github": "OQtFTdNNNR4K7jjWkGuMm",
"image": "https://Ma7HVfZ..com//LVPKZ8t",
"is_onboarded": true,
"last_name": "vhVAjVemRKXpWh",
"phone": "+1-273-867-5191"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "vcSaD03YkEseG9qAfRg406CH",
"created_at": "2025-08-26T22:17:18.976Z",
"deletion_scheduled": true,
"discord": "5k3H5s9yUJoxLypEPfsx8IGq7BCx2",
"email": "2tan@6PV0t2q.com",
"email_verified": "2025-08-26T22:17:18.976Z",
"first_name": "FcEsxCAxbbTfmhxmQkdgiV4YQ",
"github": "Nw5",
"id": "3eee5248-4f27-4834-86e1-15cde28d958e",
"image": "https://p..com/nJL9bLk/V",
"is_onboarded": false,
"is_service_account": true,
"last_name": "YGnNlES6x1",
"name": "Ie3eEB1bLqfDMXDvT8r8MkNX6g7fTB",
"phone": "+1-542-619-4264",
"updated_at": "2025-08-26T22:17:18.976Z"
}