curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/groups \
--header 'Authorization: Bearer <token>'[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"groups": [
{
"id": "<string>",
"name": "<string>",
"numMembers": 123,
"numServiceAccounts": 123,
"roleBindings": [
{
"role": {
"id": "<string>",
"name": "<string>",
"permissions": [
{
"id": "organisation.read",
"description": "<string>"
}
],
"scopes": [
"organisation"
]
},
"resource": {
"resourceType": "organisation",
"resourceId": "<string>",
"name": "<string>"
}
}
]
}
]
}
]GetGroups returns a paginated list of Groups for the given Organisation.
curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/groups \
--header 'Authorization: Bearer <token>'[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"groups": [
{
"id": "<string>",
"name": "<string>",
"numMembers": 123,
"numServiceAccounts": 123,
"roleBindings": [
{
"role": {
"id": "<string>",
"name": "<string>",
"permissions": [
{
"id": "organisation.read",
"description": "<string>"
}
],
"scopes": [
"organisation"
]
},
"resource": {
"resourceType": "organisation",
"resourceId": "<string>",
"name": "<string>"
}
}
]
}
]
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
Show child attributes
RoleBindings are the list of roles bindings granted to this Group.
Show child attributes
Role encompasses a set of permissions which can be granted to a Member or Group. Roles are currently predefined but may support custom roles in the future.
Show child attributes
Name is the user-defined name for the role. It must be unique within the scope of an Organisation.
Show child attributes
ID is a human-readable identifier for the permission, i.e. switchboard.publish
organisation.read, organisation.edit, organisation.delete, organisation.members.read, organisation.members.invite, organisation.members.edit, organisation.members.delete, organisation.manage_billing, organisation.manage_subscription, switchboard.create, switchboard.read, switchboard.edit, switchboard.publish, switchboard.delete, connection.create, connection.read, connection.edit, connection.delete, hub.create, hub.read, hub.edit, hub.delete, hub.integration.create, hub.integration.read, hub.integration.edit, hub.integration.publish, hub.integration.delete, hub.user.create, hub.user.read, hub.user.edit, hub.user.delete Description is a human-readable description of what the permission grants
Scope defines which resources the role can be bound to, i.e. "organisation", "switchboard" etc. Resources are hierarchical, meaning that if a role is bound to an Organisation, it will be inherited by all resources owned by that organisation, whereas if it is bound to an individual child resource such as a Switchboard board, it will only apply to that board.
organisation, switchboard, connection, hub ResourceReference is an abstract overview of a resource in the Versori platform.