v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
serviceAccountManagement

List access keys for a service account.

List all access keys of a service account.

get/v1/serviceAccounts/{serviceAccountId}/accessKeys

Path parameters

serviceAccountIdstring required

Identifier of the service account.

Response

A list of all access keys within the organization of a service account.

Example response

{
  "data": [
    {
      "id": "su0w3Q37CBzHUM",
      "label": "collector access key",
      "corsHeaders": [
        "https://my-app.com",
        "https://mail.my-app.com"
      ],
      "createdAt": "2018-10-16T09:10:00Z",
      "createdBy": "0000000006743FDD",
      "modifiedAt": "2018-10-16T09:10:00Z",
      "modifiedBy": "0000000006743FDD",
      "serviceAccountId": "0000000006743FDA",
      "lastUsed": "2018-10-16T09:10:00Z",
      "scopes": [
        "manageUsersAndRoles",
        "viewCollectors"
      ],
      "effectiveScopes": [
        "manageUsersAndRoles",
        "viewCollectors"
      ]
    }
  ]
}