v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
resources

Get resource user

Returns information about a specific user's access to a resource.

get/resources/{resource_id}/users/{user_id}

Path parameters

resource_idstring uuid required

The ID of the resource.

user_idstring uuid required

The ID of the user.

Query parameters

cursorstring

The pagination cursor value.

Response

List of ResourceUser records for the user's access to the resource.

cursorstring

Pagination cursor for the next page of results

total_countinteger

Total number of results

Example response

{
  "data": [
    {
      "full_name": "Jake Barnes",
      "user_id": "29827fb8-f2dd-4e80-9576-28e31e9934ac",
      "resource_id": "1b978423-db0a-4037-a4cf-f79c60cb67b3",
      "expiration_date": "2022-01-23T04:56:07Z",
      "email": "jake@company.dev"
    }
  ],
  "cursor": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
  "total_count": 120
}