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": "WRxw2iWhwh8NYfX1DOGSC",
"discord": "VNzg1S0oV",
"first_name": "uRdxxVvcn9eGGMgOG1KnkrVWJu",
"github": "JbsSo3kHUQKzYhTnlazC",
"image": "https://sM3hew.VoW30pzzel.com/fUy5V8Gtfu/",
"last_name": "ldeqE",
"phone": "+1-333-153-8878"
}'
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": true,
"company": "gzhlv",
"created_at": "2025-01-17T16:14:30.993Z",
"discord": "7tOM7dTBFCfuuDSK",
"email": "@.com",
"email_verified": "2025-01-17T16:14:30.993Z",
"first_name": "94FjX87RS",
"github": "8NxUtlJCxHuAPZGdGcvIi8c",
"id": "4d9d49dc-daa5-4d26-a471-545ef311e000",
"image": "https://lA.A9xcDL.com/xxZ2KUO/8gTTF116N",
"is_service_account": false,
"last_name": "KPfOSeAUgAnGL1G1l1ncV5o",
"name": "eN77AmC3hOXCuz",
"phone": "+1-479-414-4847",
"updated_at": "2025-01-17T16:14:30.993Z"
}