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.
Path parameters
-
organization_id
string Required Identifier for the Organization
Body
Required
The organization to update
-
name
string The organization's friendly name
-
Whether the default disk alerts are enabled
-
notifications_allowed_email_domains
array[string] The list of allowed domains for notification-email recipients
-
billing_contacts
array[string] The list of contacts for billing notifications
-
operational_contacts
array[string] The list of contacts for operational notifications
Responses
-
200 application/json
Organization updated successfully
-
400 application/json
- 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:
-
401 application/json
You are not authorized to perform this action
-
403 application/json
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
404 application/json
Organization not found. (code:
organization.not_found
)
PUT
/organizations/{organization_id}
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}' \
--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"]}'