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": "AU5UCgm3iZIckXXqjUpHMnWgqWo",
"discord": "mFy",
"first_name": "L65",
"github": "cW87AIenm9RpROahh",
"image": "https://rJV83O.mQh2kiy5.com/jk/arCOTt42x4l",
"last_name": "0D05MTmzhkBLwZzzfLlUWWo2y9z",
"phone": "+1-520-637-3039"
}'
200 OK
Response{
"block": "missing_payment_method",
"can_train_on_data": false,
"company": "QhZI8mF",
"created_at": "2025-04-01T00:21:11.428Z",
"discord": "RmCPsFI40qPkCoEWXsYTcPcckqXNH",
"email": "kb@vvq7nV.com",
"email_verified": "2025-04-01T00:21:11.428Z",
"first_name": "qkjrc5o9ZEdgpGS",
"github": "63ntpbv0",
"id": "0b39d8fb-cd42-4163-a330-dcabc4a707b0",
"image": "https://5w3mTLntPqAt.nb.com/HVmAqAzp0W/l7gn",
"is_service_account": true,
"last_name": "HyY8laywTYmyp6nUh",
"name": "9kbGGD1vN8",
"phone": "+1-294-455-8179",
"updated_at": "2025-04-01T00:21:11.428Z"
}