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": "4bX4JUIXGN@pGFrc6AyS.com",
"domain": "rx4rx1Koih7PcnX",
"image": "https://O8B4Q.J5Mx8GaPHwb.com/yZ2/3k1",
"name": "BPhEoVBtM4FGvvTs51kqHqy",
"phone": "+1-783-248-2542"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "c@14UF4fj.com",
"billing_email_verified": "2025-05-14T21:39:12.054Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-05-14T21:39:12.054Z",
"domain": "MbQ4fAE5rm1Vyt",
"id": "9d983426-a188-4b3f-8b7a-6a0a1a066cf1",
"image": "https://pX263xW..com/zIkcNVK/AJWnUU",
"name": "",
"phone": "+1-882-735-4227",
"stripe_id": "O9O7J22YQTX8Hm1q8ndS",
"updated_at": "2025-05-14T21:39:12.054Z"
}