Skip to main content
GET
/
non-human-identities
cURL
curl --request GET \
  --url https://api.opal.dev/v1/non-human-identities \
  --header 'Authorization: Bearer <token>'
{
  "next": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "previous": "cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ",
  "results": [
    {
      "resource_id": "f454d283-ca67-4a8a-bdbb-df212eca5353",
      "description": "This resource represents AWS IAM role \"SupportUser\".",
      "admin_owner_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
      "remote_id": "arn:aws:iam::490306337630:role/SupportUser",
      "remote_name": "SupportUser",
      "max_duration": 120,
      "require_manager_approval": false,
      "require_support_ticket": false,
      "parent_resource_id": "f454d283-ca67-4a8a-bdbb-df212eca5345"
    },
    {
      "resource_id": "99d0b81d-14be-4cf6-bd27-348b4af1d11b",
      "description": "This resource represents GCP project \"app-demo\".",
      "remote_id": "app-demo-307223",
      "remote_name": "app-demo",
      "admin_owner_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
      "max_duration": 360,
      "require_manager_approval": false,
      "require_support_ticket": true
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Query Parameters

cursor
string

The pagination cursor value.

page_size
integer

Number of results to return per page. Default is 200.

Required range: x <= 1000

Response

200 - application/json

One page worth non-human identities in your organization.

results
object[]
required
next
string | null

The cursor with which to continue pagination if additional result pages exist.

Example:

"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"

previous
string | null

The cursor used to obtain the current result page.

Example:

"cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ"