cURL
curl --request GET \ --url https://api.opal.dev/v1/resources/{resource_id}/users/{user_id} \ --header 'Authorization: Bearer <token>'
{ "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:07.000Z", "email": "[email protected]" } ], "cursor": "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw", "total_count": 120 }
Returns information about a specific user’s access to a resource.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the resource.
The ID of the user.
The pagination cursor value.
List of ResourceUser records for the user's access to the resource.
Show child attributes
Pagination cursor for the next page of results
"cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw"
Total number of results
120
Was this page helpful?