API → Orgs → Update 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": "H895r3ORfp@Wx1I.com",
"domain": "",
"image": "https://9kwqcOkoAM8.O906.com/B9QKkl6oyYO/caL",
"name": "evUbUKof8xkfkPIl",
"phone": "+1-573-428-1050"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "CoSZLdj@Wsb7Q.com",
"billing_email_verified": "2025-04-21T20:01:21.171Z",
"block": "missing_payment_method",
"can_train_on_data": true,
"created_at": "2025-04-21T20:01:21.171Z",
"domain": "VkuqeBJh",
"id": "1c61cf5b-600e-4a67-b2f0-858b6321aa00",
"image": "https://zibqYQNkukwm.9vjW5UschKr.com/CnAoLZKd/EFwb",
"name": "87uLSegxBz",
"phone": "+1-575-413-2363",
"stripe_id": "R4vHBd",
"updated_at": "2025-04-21T20:01:21.171Z"
}