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": "sGpO8Vg2PqqxI1S",
"discord": "pBa93GFBh287ss7E",
"first_name": "y7cgwBRV7550xqKoo52WsRd9YEO",
"github": "h2xtIFCygrwF7hPw0ehWqy",
"image": "https://umIRs.7ntN7Lja.com/jtpX9rUr1Vk/KHEgdIbJFK",
"last_name": "dIiVM",
"phone": "+1-889-627-4056"
}'
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": false,
"company": "nq8No993oil9myuANHGq",
"created_at": "2025-01-09T18:27:25.420Z",
"discord": "6N1ibvto",
"email": "4MXSC@pE5Kca6.com",
"email_verified": "2025-01-09T18:27:25.420Z",
"first_name": "3",
"github": "QpJkKz",
"id": "f41012ad-601c-4ff0-9f18-e90f9fa5e78e",
"image": "https://tQbDOumcu.CqZqU.com/bet9okJs/qVZZDvKwGGa",
"is_service_account": false,
"last_name": "WU5awUtISKFogQPmXJO4fZqdo",
"name": "jXjPxGlWebkMtnMLz8qZ",
"phone": "+1-759-307-1107",
"updated_at": "2025-01-09T18:27:25.420Z"
}