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": "4H3bH5",
"discord": "bpTHuVdlZlzf",
"first_name": "tSPjssZROu6jDhkANuIiTumfxI",
"github": "PYLOWvmKzMWqYiIA",
"image": "https://hP.asq3Jef.com/5x/NwRchBJ",
"last_name": "WyuYuxl98xyCXUFFLvNC96",
"phone": "+1-294-755-6475"
}'
200 OK
Response{
"block": "payment_method_failed",
"can_train_on_data": true,
"company": "inD6X",
"created_at": "2024-04-26T17:03:42.323Z",
"discord": "S9T99nmkK",
"email": "@4iEmBD7e.com",
"email_verified": "2024-04-26T17:03:42.323Z",
"first_name": "XD8dS8A4vU",
"github": "my4wEGOaMcS",
"id": "6c83e951-729a-4c3b-9dac-bc0c7c70f26a",
"image": "https://.zZRyozi8H.com/Cn3o5cx/",
"is_service_account": false,
"last_name": "g0Z0iddv7OLQxILGpgtkQ",
"name": "zhzGkMTBI7NbTXseEjQIj2S",
"phone": "+1-588-980-2567",
"updated_at": "2024-04-26T17:03:42.323Z"
}