Get role mappings
Gets the organization role mappings. Currently unavailable in self-hosted ECE.
Responses
-
The IdP info
Hide response attribute Show response attribute object
-
The list of role assignments for the organization
Hide mappings attributes Show mappings attributes object
-
Whether or not the role mapping is enabled
-
The name of the role mapping
-
The rule to match
Hide rule attributes Show rule attributes object
-
The rules that must match. Only one rule must match for the role assignment to be applied.
-
The rules that must match. All rules must match for the role assignment to be applied.
-
-
The roles that will be assigned to users once they accept the invitation. Currently unavailable in self-hosted ECE.
Hide role_assignments attributes Show role_assignments attributes object
-
Assignments for roles with platform scope.
Assignment for a role with platform scope.
-
Assignments for roles with organization scope.
Assignment for a role with organization scope.
-
Assignments for roles with deployment scope.
Assignment for a role with deployment scope.
Hide deployment attributes Show deployment attributes object
-
The ID of the role that is assigned.
-
The ID of the organization the role is scoped to.
-
When true, the role applies to all deployments in the organization, otherwise the role is scoped to the deployments specified in
deployment_ids
. -
The IDs of the deployments the role is scoped to. Must be absent if
all
is true, and present ifall
is false. -
If provided, the user assigned this role assignment will be granted this application role when signing in to the deployment(s) specified in the role assignment.
-
-
Assignments for roles with project scope.
Hide project attributes Show project attributes object
-
The Elasticsearch project-scoped role assignments to set
Assignment for a role with project scope.
Hide elasticsearch attributes Show elasticsearch attributes object
-
The ID of the role that is assigned.
-
The ID of the organization the role is scoped to.
-
When true, the role applies to all projects in the organization, otherwise the role is scoped to the projects specified in
project_ids
. -
The IDs of the projects the role is scoped to. Must be absent if
all
is true, and present ifall
is false. -
If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment.
-
-
The Observability project-scoped role assignments to set
Assignment for a role with project scope.
Hide observability attributes Show observability attributes object
-
The ID of the role that is assigned.
-
The ID of the organization the role is scoped to.
-
When true, the role applies to all projects in the organization, otherwise the role is scoped to the projects specified in
project_ids
. -
The IDs of the projects the role is scoped to. Must be absent if
all
is true, and present ifall
is false. -
If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment.
-
-
The Security project-scoped role assignments to set
Assignment for a role with project scope.
Hide security attributes Show security attributes object
-
The ID of the role that is assigned.
-
The ID of the organization the role is scoped to.
-
When true, the role applies to all projects in the organization, otherwise the role is scoped to the projects specified in
project_ids
. -
The IDs of the projects the role is scoped to. Must be absent if
all
is true, and present ifall
is false. -
If provided, the user assigned this role assignment will be granted this application role when signing in to the project(s) specified in the role assignment.
-
-
-
-
-
-
Organization not found. (code:
organization.not_found
)Hide headers attribute Show headers attribute
Hide response attribute Show response attribute object
-
A list of errors that occurred in the failing request
Hide errors attributes Show errors attributes object
-
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/organizations/{organization_id}/role_mappings'