curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/service-accounts
[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"serviceAccounts": [
{
"id": "<string>",
"name": "<string>",
"email": "<any>",
"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
[
{
"totalCount": 123,
"next": "<string>",
"prev": "<string>",
"serviceAccounts": [
{
"id": "<string>",
"name": "<string>",
"email": "<any>",
"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>"
}
}
]
}
]
}
]