Organization operationsedit

Get information about your organizationedit

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 organizationedit

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": [
    "test@test.com" 
  ]
}'

One or more email addresses to invite to the organization

View pending invitations to your organizationedit

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 organizationedit

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 organizationedit

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