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": "9L@8UbJ.com",
"domain": "nQDqcLITgZgltTNHgcmnpc9EZn",
"image": "https://1sw.ZwYfs.com/tb/54V3x1gW4GV1",
"name": "BKgviEjE07yoXkhDGdL4Hli8UVCW",
"phone": "+1-416-745-8766"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": false,
"billing_email": "M@bRgayxAN.com",
"billing_email_verified": "2025-07-03T15:41:32.580Z",
"block": "payment_method_failed",
"can_train_on_data": true,
"created_at": "2025-07-03T15:41:32.580Z",
"domain": "JHOa",
"id": "f80d7996-f1f8-40b7-8a8a-696846a3fdf6",
"image": "https://pGAaq.jd.com/HJAwN9/mn7VBAvsw4",
"name": "8PWQdnKYEH",
"phone": "+1-446-127-6990",
"stripe_id": "XwH8644YZ",
"updated_at": "2025-07-03T15:41:32.580Z"
}