Service Accounts

List service accounts

Changed on

Returns the service accounts in the authenticated organization that the caller may manage. Requires human authentication with permission to manage service accounts (the Manager role or higher, which covers every service account); service account credentials are rejected.

get/api/v0/service-accounts

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

ListServiceAccounts200ResponseBody required
serviceAccounts, object[] required

Changes

    • info

      added the optional property serviceAccounts/items/agentProfileId to the response with the status

    • breaking

      the serviceAccounts/items/description response property's maxLength was unset from 1024 for the response status

    • breaking

      the serviceAccounts/items/name response property's maxLength was unset from 128 for the response status

    3 more changes in this revision