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": "oj4KVWUSH8qLiJIKmQn",
"discord": "M4hU7wpu1tFeLj1p5WODCfIm",
"first_name": "O60YRciUT4ytr0yu",
"github": "",
"image": "https://1YYBkdJz.I0abfPT9gaV.com/OxCkh1/hC",
"last_name": "R3HdsjTmahQe",
"phone": "+1-245-416-1721"
}'
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": true,
"company": "rqhoOgDpZtMjt2g",
"created_at": "2025-02-27T21:31:43.742Z",
"discord": "FEVfWAQLMxtl8QmQohXbT52",
"email": "r@.com",
"email_verified": "2025-02-27T21:31:43.742Z",
"first_name": "1",
"github": "YmPXTRffBaTcYT8nt4",
"id": "ed35b948-aeb5-4f88-83e5-8ae739556ca2",
"image": "https://XwPiBXpCx.6zb8lVFugujS.com/gVX/v8dSVH",
"is_service_account": false,
"last_name": "W1yOM9E",
"name": "tLAL1xZ20D",
"phone": "+1-688-593-3930",
"updated_at": "2025-02-27T21:31:43.742Z"
}