curl \
--request GET 'https://api.elastic-cloud.com/api/v1/account'
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/users/auth/keys' \
--header "Content-Type: application/json" \
--data '{"description":"string","expiration":"string","role_assignments":{"platform":[{"role_id":"string"}],"organization":[{"role_id":"string","organization_id":"string"}],"deployment":[{"role_id":"string","organization_id":"string","all":true,"deployment_ids":["string"],"application_roles":["string"]}],"project":{"elasticsearch":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}],"observability":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}],"security":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}]}}}'
curl \
--request DELETE 'https://api.elastic-cloud.com/api/v1/users/auth/keys/{api_key_id}'
Get costs overview for the organization. Currently unavailable in self-hosted ECE.
Deprecated
EXPERIMENTAL (it may change in future versions): Retrieves an overview of the costs by organization ID.
Query parameters
-
A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
-
A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.
Responses
-
Top-level cost overview for the organization
-
The specified date range is invalid. (code:
costs.invalid_date_range
) -
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
Organization not found. (code:
organization.not_found
) -
An error occurred when fetching an overview of the costs for the organization. (code:
billing_service.failed_request
)
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/billing/costs/{organization_id}'
Get charts by deployment. Currently unavailable in self-hosted ECE.
Deprecated
EXPERIMENTAL (it may change in future versions): Retrieves the usage charts for the given deployment.
Query parameters
-
A datetime for the beginning of the desired range for which to fetch costs. Defaults to start of current month.
-
A datetime for the end of the desired range for which to fetch costs. Defaults to the current date.
-
The desired bucketing strategy for the charts. Defaults to
daily
.Values are
daily
ormonthly
. Default value isdaily
.
Responses
-
The usage charts of a deployment.
-
The specified date range is invalid. (code:
costs.invalid_date_range
) -
The current user does not have access to the requested organization. (code:
organization.invalid_access
) -
Organization not found. (code:
organization.not_found
) -
Too many requests. (code:
billing_service.rate_limited
) -
Error fetching the itemized costs for the organization. (code:
billing_service.failed_request
)
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/billing/costs/{organization_id}/deployments/{deployment_id}/charts'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments'
Query parameters
-
Whether or not to hide orphaned resources that were shut down (relevant if prune on the request is true)
Default value is
false
. -
Whether or not to skip snapshots before shutting down orphaned resources (relevant if prune on the request is true)
Default value is
false
. -
If true, will just validate the Deployment definition but will not perform the update
Default value is
false
. -
If specified then checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request)
Body
Required
The deployment definition
-
A new name for the deployment, otherwise stays the same.
-
Whether or not to prune orphan resources that are no longer mentioned in this request. Note that resourcesare tracked by ref_id, and if a resource's ref_id is changed, any previous running resources created with that previousref_id are considered to be orphaned as well.
-
Describes the Deployment resource updates
-
Additional configuration for the new deployment object.
-
Additional information about the current deployment object.
-
A user-defined alias to use in place of Cluster IDs for user-friendly URLs
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}' \
--header "Content-Type: application/json" \
--data '{"name":"string","prune_orphans":true,"resources":{"elasticsearch":[{"ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"id":"string","node_type":{"master":true,"data":true,"ingest":true,"ml":true},"node_roles":["master"],"zone_count":42,"elasticsearch":{"version":"string","docker_image":"string","system_settings":{"scripting":{"painless_enabled":true,"mustache_enabled":true,"expressions_enabled":true,"stored":{"enabled":true,"sandbox_mode":true},"file":{"enabled":true,"sandbox_mode":true},"inline":{"enabled":true,"sandbox_mode":true}},"reindex_whitelist":["string"],"auto_create_index":true,"enable_close_index":true,"destructive_requires_name":true,"watcher_trigger_engine":"string","default_shards_per_index":42,"monitoring_collection_interval":42,"monitoring_history_duration":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string","enabled_built_in_plugins":["string"],"user_plugins":[{"name":"string","url":"string","elasticsearch_version":"string"}],"user_bundles":[{"name":"string","url":"string","elasticsearch_version":"string"}],"curation":{"from_instance_configuration_id":"string","to_instance_configuration_id":"string"},"node_attributes":{"additionalProperty1":"string","additionalProperty2":"string"}},"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"autoscaling_min":{"value":42,"resource":"memory"},"autoscaling_max":{"value":42,"resource":"memory"},"autoscaling_policy_override_json":{},"topology_element_control":{"min":{"value":42,"resource":"memory"}},"autoscaling_tier_override":true}],"elasticsearch":{"version":"string","docker_image":"string","system_settings":{"scripting":{"painless_enabled":true,"mustache_enabled":true,"expressions_enabled":true,"stored":{"enabled":true,"sandbox_mode":true},"file":{"enabled":true,"sandbox_mode":true},"inline":{"enabled":true,"sandbox_mode":true}},"reindex_whitelist":["string"],"auto_create_index":true,"enable_close_index":true,"destructive_requires_name":true,"watcher_trigger_engine":"string","default_shards_per_index":42,"monitoring_collection_interval":42,"monitoring_history_duration":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string","enabled_built_in_plugins":["string"],"user_plugins":[{"name":"string","url":"string","elasticsearch_version":"string"}],"user_bundles":[{"name":"string","url":"string","elasticsearch_version":"string"}],"curation":{"from_instance_configuration_id":"string","to_instance_configuration_id":"string"},"node_attributes":{"additionalProperty1":"string","additionalProperty2":"string"}},"deployment_template":{"id":"string","version":"string"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"skip_snapshot":true,"max_snapshot_attempts":42,"max_snapshot_age":42,"extended_maintenance":true,"cluster_reboot":"forced"},"restore_snapshot":{"repository_name":"string","snapshot_name":"string","repository_config":{"raw_settings":{}},"restore_payload":{"indices":["string"],"raw_settings":{}},"strategy":"partial","source_cluster_id":"string"},"remote_clusters":{"resources":[{"deployment_id":"string","elasticsearch_ref_id":"string","alias":"string","skip_unavailable":true,"info":{"healthy":true,"connected":true,"compatible":true,"trusted":true,"trusted_back":true}}]},"cluster_settings_json":{}},"autoscaling_enabled":true},"settings":{"snapshot":{"interval":"string","retention":{"snapshots":42,"max_age":"string"},"cron_expression":"string"},"monitoring":{"target_cluster_id":"string"},"metadata":{"name":"string"},"curation":{"specs":[{"index_pattern":"string","trigger_interval_seconds":42}]},"dedicated_masters_threshold":42,"traffic_filter":{"rulesets":["string"]},"trust":{"accounts":[{"account_id":"string","name":"string","trust_all":true,"trust_allowlist":["string"]}],"external":[{"trust_relationship_id":"string","name":"string","trust_all":true,"trust_allowlist":["string"]}],"direct":[{"uid":"string","name":"string","type":"ECE","trust_all":true,"trust_allowlist":["string"],"scope_id":"abc123","additional_node_names":["string"],"certificates":[{"pem":"string","metadata":{"fingerprint":"string","valid_to":"2025-05-04T09:42:00Z","valid_from":"2025-05-04T09:42:00Z","also_trusted_by":["string"]}}]}]},"keystore_contents":{"secrets":{"additionalProperty1":{"value":{},"as_file":true},"additionalProperty2":{"value":{},"as_file":true}}}}}],"kibana":[{"ref_id":"string","elasticsearch_cluster_ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"zone_count":42,"kibana":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"}}],"kibana":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"extended_maintenance":true,"cluster_reboot":"forced"}}},"settings":{"metadata":{"name":"string"}}}],"apm":[{"ref_id":"string","elasticsearch_cluster_ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"zone_count":42,"apm":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_token":"string","debug_enabled":true},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"}}],"apm":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_token":"string","debug_enabled":true},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"extended_maintenance":true,"cluster_reboot":"forced"}}},"settings":{"metadata":{"name":"string"}}}],"appsearch":[{"ref_id":"string","elasticsearch_cluster_ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"node_type":{"appserver":true,"worker":true},"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"zone_count":42,"appsearch":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_url":"string","elasticsearch_username":"string","elasticsearch_password":"string","secret_session_key":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"}}],"appsearch":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_url":"string","elasticsearch_username":"string","elasticsearch_password":"string","secret_session_key":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"move_instances":[{"from":"string","to":["string"],"instance_down":true}],"move_allocators":[{"from":"string","to":["string"],"allocator_down":true}],"reallocate_instances":true,"preferred_allocators":["string"],"extended_maintenance":true,"cluster_reboot":"forced"}}},"settings":{"metadata":{"name":"string"}}}],"enterprise_search":[{"ref_id":"string","elasticsearch_cluster_ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"node_type":{"appserver":true,"worker":true,"connector":true},"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"zone_count":42,"enterprise_search":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_session_key":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"},"allocator_filter":{},"node_configuration":"string","memory_per_node":{},"node_count_per_zone":{}}],"enterprise_search":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_session_key":"string"},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"move_instances":[{"from":"string","to":["string"],"instance_down":true}],"move_allocators":[{"from":"string","to":["string"],"allocator_down":true}],"reallocate_instances":true,"preferred_allocators":["string"],"extended_maintenance":true,"cluster_reboot":"forced"}}},"settings":{"metadata":{"name":"string"}}}],"integrations_server":[{"ref_id":"string","elasticsearch_cluster_ref_id":"string","display_name":"string","region":"string","plan":{"cluster_topology":[{"instance_configuration_id":"string","instance_configuration_version":42,"size":{"value":42,"resource":"memory"},"zone_count":42,"integrations_server":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_token":"string","debug_enabled":true},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string","mode":"standalone"}}],"integrations_server":{"version":"string","docker_image":"string","system_settings":{"elasticsearch_username":"string","elasticsearch_password":"string","secret_token":"string","debug_enabled":true},"user_settings_json":{},"user_settings_yaml":"string","user_settings_override_json":{},"user_settings_override_yaml":"string","mode":"standalone"},"transient":{"strategy":{"rolling":{"group_by":"string","allow_inline_resize":true,"skip_synced_flush":true,"shard_init_wait_time":42},"grow_and_shrink":{},"rolling_grow_and_shrink":{},"autodetect":{}},"plan_configuration":{"timeout":42,"calm_wait_time":42,"extended_maintenance":true,"cluster_reboot":"forced"}}},"settings":{"metadata":{"name":"string"}}}]},"settings":{"observability":{"logging":{"destination":{"deployment_id":"string","ref_id":"string"}},"metrics":{"destination":{"deployment_id":"string","ref_id":"string"}}},"autoscaling_enabled":true,"auto_ops":{"status":"connected"}},"metadata":{"tags":[{"key":"string","value":"string"}]},"alias":"string"}'
Shuts down Deployment
Shuts down all resources in a Deployment.
Query parameters
-
Whether or not to hide the deployment and its resources.Only applicable for Platform administrators.
-
Whether or not to skip snapshots before shutting down the resources
Default value is
false
.
Responses
-
The request was valid and the resources of the deployment were shutdown.
-
Parameter is restricted and can only be set by a Platform administrator. (code:
deployments.restricted_parameter
) -
You are not authorized to perform this action.
-
The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
)
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/_shutdown'
Set AppSearch read-only status
Enable/Disable read-only mode on the given App Search resource.
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode'
Set AppSearch read-only status
Enable/Disable read-only mode on the given App Search resource.
Path parameters
-
Identifier for the Deployment.
-
User-specified RefId for the Resource (or '_main' if there is only one).
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/appsearch/{ref_id}/read_only_mode' \
--header "Content-Type: application/json" \
--data '{"enabled":true}'
Get the items in the Elasticsearch resource keystore
Fetches the current fields and metadata (but not the values) of the keystore for the Elasticsearch resource.
Path parameters
-
Identifier for the Deployment
-
User-specified RefId for the Resource (or '_main' if there is only one)
Responses
-
The contents of the Elasticsearch keystore, with values redacted
-
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found
)
- The Deployment specified by {deployment_id} cannot be found. (code:
-
We have failed you. (code:
deployments.metadata_internal_error
)
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/elasticsearch/{ref_id}/keystore'
Get certificate based remote clusters
Returns the list of certificate based remote clusters for the elasticsearch resource.
Path parameters
-
Identifier for the Deployment.
-
User-specified RefId for the Resource (or '_main' if there is only one).
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/elasticsearch/{ref_id}/remote-clusters'
Get Deployment Enterprise Search Resource Info
Get info about an Enterprise Search Resource belonging to a given Deployment.
Path parameters
-
Identifier for the Deployment
-
User-specified RefId for the Resource (or '_main' if there is only one).
Query parameters
-
Whether to include the full cluster metadata in the response - can be large per cluster and also include credentials.
Default value is
false
. -
Whether to include the full current and pending plan information in the response - can be large per cluster.
Default value is
true
. -
Whether to include with the current and pending plan information the attempt log - can be very large per cluster.
Default value is
false
. -
Whether to include with the current and pending plan information the plan history- can be very large per cluster.
Default value is
false
. -
If showing plans, whether to show values that are left at their default value (less readable but more informative).
Default value is
false
. -
Whether to show cluster settings in the response.
Default value is
false
. -
If set (defaults to false) then removes the transient section from all child resources, making it safe to reapply via an update
Default value is
false
.
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/enterprise_search/{ref_id}'
Build request to migrate deployment to a different template
Returns a deployment update request that would migrate this deployment to a different template.
Responses
-
The request was valid and the deployment can be migrated to the template with the provided ID.
-
The deployment cannot be successfully migrated to the template with the provided ID.
-
You are not authorized to perform this action.
-
The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
)
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/migrate_template?template_id=string'
Stop instances
Stops instances belonging to a Deployment Resource.
Path parameters
-
Identifier for the Deployment.
-
The kind of resource (one of elasticsearch, kibana, apm, or integrations_server).
-
User-specified RefId for the Resource (or '_main' if there is only one).
-
A comma-separated list of instance identifiers.
Query parameters
-
If true and the instance does not exist then quietly proceed to the next instance, otherwise treated as an error.
Default value is
false
.
Responses
-
The stop command was issued successfully.
-
The start maintenance mode command was prohibited for the given Resource. (code:
deployments.instance_update_prohibited_error
) -
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found
) - One or more instances of the given resource type are missing. (code:
deployments.instances_missing_on_update_error
)
- The Deployment specified by {deployment_id} cannot be found. (code:
-
A Resource that was previously stored no longer exists. (code:
deployments.deployment_resource_no_longer_exists
)
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/_stop'
Stop maintenance mode
Stops maintenance mode of instances belonging to a Resource.
Path parameters
-
Identifier for the Deployment.
-
The kind of resource (one of elasticsearch, kibana, apm, or integrations_server).
-
User-specified RefId for the Resource (or '_main' if there is only one).
-
A comma-separated list of instance identifiers.
Query parameters
-
If true and the instance does not exist then quietly proceed to the next instance, otherwise treated as an error.
Default value is
false
.
Responses
-
The stop maintenance mode command was issued successfully.
-
The stop maintenance mode command was prohibited for the given Resource. (code:
deployments.instance_update_prohibited_error
) -
- The Deployment specified by {deployment_id} cannot be found. (code:
deployments.deployment_not_found
) - The Resource specified by {ref_id} cannot be found. (code:
deployments.deployment_resource_not_found
) - One or more instances of the given resource type are missing. (code:
deployments.instances_missing_on_update_error
)
- The Deployment specified by {deployment_id} cannot be found. (code:
-
A Resource that was previously stored no longer exists. (code:
deployments.deployment_resource_no_longer_exists
)
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/instances/{instance_ids}/maintenance-mode/_stop'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/extensions'
Create an extension
Creates the extension.
The extensions API supports two types of usage patterns.
A). Specify a download_url
, http or https URL, where the extension is currently hosted. This will result in extension being copied to elastic repository.
B). Create only the extension metadata using the POST
endpoint and then use PUT
to upload the extension file. Leave the download_url
unspecified in this case.
Responses
-
The extension that was just created.
-
Could not download the extension from the specified URL. (code:
extensions.request_execution_failed
) -
Your current session does not have a user id associated with it. (code:
extensions.no_user_id
) -
An extension already exists with the generated id. Please try again. (code:
extensions.id_already_exists
)
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/extensions' \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","download_url":"string","extension_type":"plugin","version":"string"}'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/extensions/{extension_id}'
Responses
-
Extension updated successfully.
-
Could not download the extension from the specified URL. (code:
extensions.request_execution_failed
) -
- The extension does not belong to you. (code:
extensions.unauthorised
) - Your current session does not have a user id associated with it. (code:
extensions.no_user_id
)
- The extension does not belong to you. (code:
-
The extension you want does not exist. (code:
extensions.not_found
) -
The version you sent does not match the persisted version. (code:
extensions.version_conflict
)
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/extensions/{extension_id}' \
--header "Content-Type: application/json" \
--data '{"name":"string","description":"string","download_url":"string","extension_type":"plugin","version":"string"}'
Body
Required
The specification for traffic filter claimed link id.
-
Link id. A GCP private service connect ID or AWS VPC endpoint ID
-
Name of the Azure Private Endpoint to allow connections from
-
Resource GUID of the Azure Private Endpoint to allow connections from
-
The claimed link id can be used only for traffic filter in the specific region
curl \
--request POST 'https://api.elastic-cloud.com/api/v1/deployments/traffic-filter/link-ids/_claim' \
--header "Content-Type: application/json" \
--data '{"link_id":"string","azure_endpoint_name":"string","azure_endpoint_guid":"string","region":"string"}'
List traffic filter rulesets
List all of the traffic filter rulesets.
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/traffic-filter/rulesets'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/organizations'
curl \
--request DELETE 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/idp'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/idp/metadata.xml'
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/invitations'
Delete organization memberships
Deletes one or more organization memberships. Currently unavailable in self-hosted ECE.
curl \
--request DELETE 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/members/{user_ids}'
Updates role mappings
Updates the role assignments applicable when logging via SSO. Currently unavailable in self-hosted ECE.
curl \
--request PUT 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/role_mappings' \
--header "Content-Type: application/json" \
--data '{"mappings":[{"enabled":true,"name":"string","rule":{"any":[{"group":"string"}],"all":[{"group":"string"}]},"role_assignments":{"platform":[{"role_id":"string"}],"organization":[{"role_id":"string","organization_id":"string"}],"deployment":[{"role_id":"string","organization_id":"string","all":true,"deployment_ids":["string"],"application_roles":["string"]}],"project":{"elasticsearch":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}],"observability":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}],"security":[{"role_id":"string","organization_id":"string","all":true,"project_ids":["string"],"application_roles":["string"]}]}}}]}'