GET
/
serviceaccounts
curl --request GET \
  --url https://use.hoop.dev/api/serviceaccounts
[
  {
    "groups": [
      "engineering"
    ],
    "id": "BF997324-5A27-4778-806A-41EE83598494",
    "name": "system-automation",
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "active",
    "subject": "bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"
  }
]

Response

200
application/json
OK
status
enum<string>
required

Inactive service account will not be able to access the api

Available options:
active,
inactive
groups
string[]

The groups in which this service account belongs to

Example:
["engineering"]
id
string

The unique identifier of this resource

Example:

"BF997324-5A27-4778-806A-41EE83598494"

name
string

The display name of this service account

Example:

"system-automation"

org_id
string

Organization ID

subject
string

Subject is the external identifier that maps the user from the identity provider. This field is immutable after creation

Example:

"bJ8xV3ASWGTi7L9Z6zvHKqxJlnZM5TxV1bRdc0706vW"