Create an access request for a role. The request will go through the configured approval flow before access is provisioned.
Documentation Index
Fetch the complete documentation index at: https://docs.serval.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the team. Required.
The ID of the role (entitlement) to request access for. Required.
The ID of the user to request access for. Defaults to the authenticated user if omitted.
The duration of access in minutes. Must not exceed the role's max_access_minutes. Required unless the role has no maximum duration.
A business justification for the access request. Required if the role's access policy requires justification.
An optional scheduled start time for provisioning (RFC3339 format). If omitted, access is provisioned immediately upon approval.
Success
The created access request.