group
NOTE: Be careful in granting permissions to non-readonly identity group endpoints. If a user can modify group membership, they can add their entity to a group with higher privileges.
Create a Group
This endpoint creates or updates a Group.
Method | Path |
---|---|
POST | /identity/group |
Parameters
name
(string: entity-<UUID>)
– Name of the group. If set (and ID is not set), updates the corresponding existing group.id
(string: <optional>)
- ID of the group. If set, updates the corresponding existing group.type
(string: "internal")
- Type of the group,internal
orexternal
. Defaults tointernal
.metadata
(key-value-map: {})
– Metadata to be associated with the group.policies
(list of strings: [])
– Policies to be tied to the group.member_group_ids
(list of strings: [])
- Group IDs to be assigned as group members.member_entity_ids
(list of strings: [])
- Entity IDs to be assigned as group members.
Sample Payload
Sample Request
Sample Response
Read Group by ID
This endpoint queries the group by its identifier.
Method | Path |
---|---|
GET | /identity/group/id/:id |
Parameters
id
(string: <required>)
– Identifier of the group.
Sample Request
Sample Response
Update Group by ID
This endpoint is used to update an existing group.
Method | Path |
---|---|
POST | /identity/group/id/:id |
Parameters
id
(string: <required>)
– Identifier of the entity.name
(string: entity-<UUID>)
– Name of the group.type
(string: "internal")
- Type of the group,internal
orexternal
. Defaults tointernal
.metadata
(key-value-map: {})
– Metadata to be associated with the group.policies
(list of strings: [])
– Policies to be tied to the group.member_group_ids
(list of strings: [])
- Group IDs to be assigned as group members.member_entity_ids
(list of strings: [])
- Entity IDs to be assigned as group members.
Sample Payload
Sample Request
Sample Response
Delete Group by ID
This endpoint deletes a group.
Method | Path |
---|---|
DELETE | /identity/group/id/:id |
Parameters
id
(string: <required>)
– Identifier of the group.
Sample Request
List Groups by ID
This endpoint returns a list of available groups by their identifiers.
Method | Path |
---|---|
LIST | /identity/group/id |
GET | /identity/group/id?list=true |
Sample Request
Sample Response
Create/Update Group by Name
This endpoint is used to create or update a group by its name.
Method | Path |
---|---|
POST | /identity/group/name/:name |
Parameters
name
(string: entity-<UUID>)
– Name of the group.type
(string: "internal")
- Type of the group,internal
orexternal
. Defaults tointernal
.metadata
(key-value-map: {})
– Metadata to be associated with the group.policies
(list of strings: [])
– Policies to be tied to the group.member_group_ids
(list of strings: [])
- Group IDs to be assigned as group members.member_entity_ids
(list of strings: [])
- Entity IDs to be assigned as group members.
Sample Payload
Sample Request
Sample Response
Read Group by Name
This endpoint queries the group by its name.
Method | Path |
---|---|
GET | /identity/group/name/:name |
Parameters
name
(string: <required>)
– Name of the group.
Sample Request
Sample Response
Delete Group by Name
This endpoint deletes a group, given its name.
Method | Path |
---|---|
DELETE | /identity/group/name/:name |
Parameters
name
(string: <required>)
– Name of the group.
Sample Request
List Groups by Name
This endpoint returns a list of available groups by their names.
Method | Path |
---|---|
LIST | /identity/group/name |
GET | /identity/group/name?list=true |
Sample Request
Sample Response