Organization operations

edit

Get information about your organization

edit

Get information about your Elasticsearch Service organization.

curl -XGET \
-H "Authorization: ApiKey $EC_API_KEY" \
"https://api.elastic-cloud.com/api/v1/organizations"

Invite members to your organization

edit

Invite members to your Elasticsearch Service organization.

curl -XPOST \
-H 'Content-Type: application/json' \
-H "Authorization: ApiKey $EC_API_KEY" \
"https://api.elastic-cloud.com/api/v1/organizations/$ORGANIZATION_ID/invitations" \
-d '
{
  "emails": [
    "[email protected]" 
  ]
}'

One or more email addresses to invite to the organization

View pending invitations to your organization

edit

View pending invitations to your Elasticsearch Service organization.

curl -XGET \
-H 'Content-Type: application/json' \
-H "Authorization: ApiKey $EC_API_KEY" \
"https://api.elastic-cloud.com/api/v1/organizations/$ORGANIZATION_ID/invitations"

View members in your organization

edit

View members in your Elasticsearch Service organization.

curl -XGET \
-H "Authorization: ApiKey $EC_API_KEY" \
"https://api.elastic-cloud.com/api/v1/organizations/$ORGANIZATION_ID/members"

Remove members from your organization

edit

Remove members from your Elasticsearch Service organization.

curl -XDELETE \
-H "Authorization: ApiKey $EC_API_KEY" \
"https://api.elastic-cloud.com/api/v1/organizations/$ORGANIZATION_ID/members/$USER_IDS"

USER_IDS One or more comma-delimited user ids to remove from the organization