Update organization
WARNING This endpoint is deprecated and scheduled to be removed in the next major version.
Updates an existing organization. Currently unavailable in self-hosted ECE.
Responses
-
Organization updated successfully
-
- Name must be between 2 and 30 characters. (code:
organization.invalid_name) - User already has an organization. (code:
organization.user_organization_already_exists)
- Name must be between 2 and 30 characters. (code:
-
You are not authorized to perform this action
-
The current user does not have access to the requested organization. (code:
organization.invalid_access) -
Organization not found. (code:
organization.not_found)
PUT /organizations/{organization_id}
curl \ --request PUT 'https://{{hostname}}/api/v1/organizations/{organization_id}' \ --user "username:password" \ --header "Content-Type: application/json" \ --data '{"name":"string","default_disk_usage_alerts_enabled":true,"notifications_allowed_email_domains":["string"],"billing_contacts":["string"],"operational_contacts":["string"]}'