API → UsersUpdate 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": "VudpnJl4HKdEV8raWpdECbFpKTLFYA",
"discord": "Ww",
"first_name": "kZaaNJ1SFPcic2zq",
"github": "dQZx1wGNDCILVIOnarw3TYgj",
"image": "https://Qj.RUnaf.com/V78KfRd/0k2G",
"last_name": "tYb3RuluxLZ7DitTux4A",
"phone": "+1-745-787-9092"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "g28OqYve",
"created_at": "2025-05-09T08:27:17.195Z",
"deletion_scheduled": false,
"discord": "2UxjoinbtUlxSUAtMPXh3MIQ",
"email": "iG7P@U.com",
"email_verified": "2025-05-09T08:27:17.195Z",
"first_name": "gilAw2hN",
"github": "G1Gmj0uwY3Tl6Uim7Dsyw3PP5l5z",
"id": "28e3ce55-b10b-427a-b10e-d5ad6f7ecb1a",
"image": "https://11l.UBc.com//80By5jib",
"is_service_account": false,
"last_name": "ZUXq5C",
"name": "JdPGc2YSX7TnQSZSUpOgDG",
"phone": "+1-414-457-4409",
"updated_at": "2025-05-09T08:27:17.195Z"
}