Skip to main content
GET
/
organisations
/
{organisation_id}
/
service-accounts
Get Service Accounts
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>"
            }
          }
        ]
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organisation_id
string
required

Response

OK

totalCount
integer
next
string
prev
string
serviceAccounts
object[]