v5

latestOpenAPI 3.1.02026-07-31151195455.5 KB
delegations

Get delegation by ID

Returns a specific delegation by its ID.

get/delegations/{delegation_id}

Path parameters

delegation_idstring uuid required

The ID of the delegation to retrieve.

Response

The requested delegation.

idstring uuid required

The ID of the delegation.

delegator_user_idstring uuid required

The ID of the user delegating their access review requests.

delegate_user_idstring uuid required

The ID of the user being delegated to.

start_timestring date-time required

The start time of the delegation.

end_timestring date-time required

The end time of the delegation.

reasonstring required

The reason for the delegation.

created_atstring date-time required

The creation time of the delegation.

updated_atstring date-time required

The last updated time of the delegation.

Example response

{
  "id": "4aed3e8a-727b-4d72-8010-3b8710c50bec",
  "delegator_user_id": "123e4567-e89b-12d3-a456-426614174000",
  "delegate_user_id": "7c86c85d-0651-43e2-a748-d69d658418e8",
  "start_time": "2023-10-01T12:00:00Z",
  "end_time": "2023-10-01T12:00:00Z",
  "reason": "I need to be out of the office",
  "created_at": "2023-10-01T12:00:00Z",
  "updated_at": "2023-10-01T12:00:00Z"
}