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": "WC",
"discord": "mh1zMie2A375ny",
"first_name": "Hi8uLBdFIf5JQ",
"github": "GMZFWkBqtRZbZq",
"image": "https://GY4NPk.G.com//guFrzLS0Q",
"last_name": "iB4fCZAcPm6HP",
"phone": "+1-434-475-7038"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": false,
"company": "x0oybh2W5",
"created_at": "2025-04-25T16:40:32.659Z",
"discord": "Fcqwm2detS4rBNdbAb2DUAtS2MaKDH",
"email": "8ivpEG@ps54cR2.com",
"email_verified": "2025-04-25T16:40:32.659Z",
"first_name": "pNyIGQLbbRWXrctBvuB",
"github": "MkWFIhvqZl2gIh4",
"id": "73778522-6d03-4997-b667-cd7d5d689c79",
"image": "https://ylbgz..com/X5E/1x8bYSeNxN",
"is_service_account": true,
"last_name": "pYPkswemIe",
"name": "LSlj",
"phone": "+1-397-808-3286",
"updated_at": "2025-04-25T16:40:32.659Z"
}