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": false,
"billing_email": "Xy1f4pV@mKe67YkAq.com",
"domain": "vk",
"image": "https://tzi.5.com/q/TcIBG",
"name": "",
"phone": "+1-905-291-7310"
}'
200 OK
Response{
"allow_users_in_domain_to_auto_join": true,
"billing_email": "b53mcVo0@IRdi2u.com",
"billing_email_verified": "2025-08-30T00:41:01.661Z",
"block": "payment_method_failed",
"can_train_on_data": false,
"created_at": "2025-08-30T00:41:01.661Z",
"domain": "qrDeszYVG3snWn7",
"id": "7a069c87-0411-42ce-a82d-c4cd0003d5e1",
"image": "https://TEQ.HL4h2AinYAa.com/IlEnBTI/Sbt1kvo2J",
"name": "sm",
"phone": "+1-544-766-3647",
"stripe_id": "4Vdb1gF3DCXJwdC22A9qYCOUGAH",
"updated_at": "2025-08-30T00:41:01.661Z"
}