curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/service-accounts \
--header 'Authorization: Bearer <token>'[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"serviceAccounts": [
{
"id": "<string>",
"name": "<string>",
"email": "<unknown>",
"clientId": "<string>",
"clientSecret": "<string>",
"roleBindings": [
{
"role": {
"id": "<string>",
"name": "<string>",
"permissions": [
{
"id": "organisation.read",
"description": "<string>"
}
],
"scopes": [
"organisation"
]
},
"resource": {
"resourceType": "organisation",
"resourceId": "<string>",
"name": "<string>"
}
}
]
}
]
}
]GetServiceAccounts returns a paginated list of ServiceAccounts for the given Organisation.
curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/service-accounts \
--header 'Authorization: Bearer <token>'[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"serviceAccounts": [
{
"id": "<string>",
"name": "<string>",
"email": "<unknown>",
"clientId": "<string>",
"clientSecret": "<string>",
"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
Name is an immutable, lower-cased, human-readable identifier for this service account. It may only contain alphanumeric characters and hyphens, and must start with a letter. It must be unique within the scope of an Organisation.
Email is the email address of the ServiceAccount. This is used to easily identify the ServiceAccount when viewing in the UI or observing logs. The email address is generated from the name, suffixed with @sa.ORG_SLUG.versori.com.
RoleBindings are the list of roles bindings granted to this ServiceAccount.
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.