API → OrgsUpdate an org

Parameters

Name

Type

Req.

Returns

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": "mgV4@v7J.com",
  "domain": "5Ai9D3LJb7qnGgHjGar1O6CSkSjr",
  "image": "https://xfHf8cx1ee.F.com/rGofgWTGBnW5/",
  "name": "ZhsknNSIdA",
  "phone": "+1-103-296-2152"
}'
200 OK
Response
{
  "allow_users_in_domain_to_auto_join": false,
  "billing_email": "e8t@rl.com",
  "billing_email_verified": "2024-07-19T17:28:22.925Z",
  "block": "missing_payment_method",
  "can_train_on_data": false,
  "created_at": "2024-07-19T17:28:22.925Z",
  "domain": "NtD56mCLJyoJmt5p",
  "id": "b11b725a-ca2b-4a0c-98d7-a0a57e834474",
  "image": "https://90s.VdJwxp.com/X/woKh47hioK",
  "name": "VRKj8Tn7DcVjkX36BYp",
  "phone": "+1-325-175-1635",
  "stripe_id": "kN6SnUMs",
  "updated_at": "2024-07-19T17:28:22.925Z"
}