API → OrgsUpdate an org
Parameters
Name
Type
Req.
bodyapplication/json
objectoptionalObject Properties
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
/org$ curl -X PUT "https://api.zoo.dev/org" \
--header "Authorization: Bearer $TOKEN" \
--header "Content-Type: application/json" \
--data '{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "kFc1GP@Hm9kv.com",
"domain": "",
"image": "https://r.HXec.com/1/VjL",
"name": "sW5",
"phone": "+1-902-476-3273"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "JC1@tAQuaPD.com",
"billing_email_verified": "2025-05-30T23:19:36.286Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-05-30T23:19:36.286Z",
"domain": "dJ7NuO06Sx",
"id": "7c624ba7-bc10-4231-bf85-93e42dc65ec1",
"image": "https://EMLd8.l.com/3/9X88U",
"name": "1g8K02IzGKZJtyZNT287tVVlqpU",
"phone": "+1-936-900-2965",
"stripe_id": "v931f88ccZG2ywYLn3vQxW1",
"updated_at": "2025-05-30T23:19:36.286Z"
}