Get a specific access request by ID.
cURL
curl --request GET \ --url https://public.api.serval.com/v2/access-requests/{id} \ --header 'Authorization: Bearer <token>'
{ "data": { "id": "<string>", "teamId": "<string>", "status": "ACCESS_REQUEST_STATUS_UNSPECIFIED", "createdAt": "<string>", "targetUserId": "<string>", "requestedRoleId": "<string>", "expiresAt": "<string>", "linkedTicketId": "<string>", "timeAllocations": [ { "id": "<string>", "status": "ACCESS_REQUEST_TIME_ALLOCATION_STATUS_UNSPECIFIED", "createdAt": "<string>", "requestedMinutes": 123, "approvedMinutes": 123, "businessJustification": "<string>", "requestedByUserId": "<string>", "invalidationReason": "ACCESS_REQUEST_TIME_ALLOCATION_INVALIDATION_REASON_UNSPECIFIED", "linkedTicketId": "<string>", "approvalRequestId": "<string>" } ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the access request.
Success
The access request.
Show child attributes
Was this page helpful?