# Update organization **PUT /organizations/{organization_id}** > 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. ## Servers - https://api.elastic-cloud.com/api/v1: https://api.elastic-cloud.com/api/v1 () ## Parameters ### Path parameters - **organization_id** (string) Identifier for the Organization ### Body: application/json (object) The organization to update - **name** (string) The organization's friendly name - **default_disk_usage_alerts_enabled** (boolean) 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 Organization updated successfully #### Body: application/json (object) - **id** (string) The organization's identifier - **name** (string) The organization's friendly name - **default_disk_usage_alerts_enabled** (boolean) 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, if specified - **operational_contacts** (array[string]) The list of contacts for operational notifications, if specified - **sso_login_identifier** (string) The login identifier for initiating SSO ### 400 * Name must be between 2 and 30 characters. (code: `organization.invalid_name`) * User already has an organization. (code: `organization.user_organization_already_exists`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 401 You are not authorized to perform this action #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 403 The current user does not have access to the requested organization. (code: `organization.invalid_access`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request ### 404 Organization not found. (code: `organization.not_found`) #### Headers - **x-cloud-error-codes** (string) The error codes associated with the response #### Body: application/json (object) - **errors** (array[object]) A list of errors that occurred in the failing request [Powered by Bump.sh](https://bump.sh)