v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
resources

Gets the list of non-human identities with access to this resource.

get/resources/{resource_id}/non-human-identities

Path parameters

resource_idstring uuid required

The ID of the resource.

Query parameters

limitinteger

Limit the number of results returned.

Response

List of non-human identities with access to this resource.

Example response

{
  "results": [
    {
      "principal_id": "74908af0-9383-4feb-b7ea-8b305d737338",
      "principal_type": "RESOURCE",
      "entity_id": "db04925a-635d-4764-870e-500b9b035c8e",
      "entity_type": "RESOURCE",
      "expiration_date": "2022-01-23T04:56:07Z",
      "has_direct_access": true,
      "num_access_paths": 3
    },
    {
      "principal_id": "d940df34-726a-4403-864e-16cb2a0d6793",
      "principal_type": "RESOURCE",
      "entity_id": "c26cd16c-a3fa-4b82-96b1-32177f8b8f59",
      "entity_type": "RESOURCE",
      "expiration_date": "2022-01-23T04:56:07Z",
      "has_direct_access": true,
      "num_access_paths": 3
    }
  ]
}