Skip to main content
PATCH
Update Access Review

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

access_review_id
string
required

The access review's ID, which GET /v1/access-reviews returns as id.

Body

application/json

A merge-patch body. A field you omit keeps its value. name, deadline_at, apps and owners can't be null. Sending null for a scheduling field clears it.

name
string

The access review's name, unique in your organization. Leading and trailing whitespace is removed, and the name must not be blank.

Required string length: 1 - 255
deadline_at
string<date-time>

When reviewers' decisions are due. Must be in the future.

target_launch_date
string<date> | null

The date the access review launches on. It waits in scheduled until then, and Lumos launches it on that date once its apps are ready. Must not be in the past or after deadline_at. Send null to unschedule the access review, which also stops it recurring. Can't change while the access review is in-preparation or scheduled-in-preparation.

recurrence_config
RecurrenceConfigInput · object | null

A recurrence rule, in dateutil.rrule terms, for running the access review again. Needs target_launch_date. Send this or recurrence_days_frequency, not both. The rule must be monthly (freq 1) and name the day it repeats on, with either a bymonthday from 1 to 28 or a byweekday with n from 1 to 4, and set no other by* field. For a cadence counted in days, such as weekly, use recurrence_days_frequency. Send null to stop it recurring.

recurrence_days_frequency
integer | null

The number of days between runs of the access review, from 1 to 365, such as 7 for weekly. Needs target_launch_date. Send this or recurrence_config, not both. Send null to stop it recurring.

Required range: 1 <= x <= 365
apps
AppReviewPatchInput · object[]

Settings to change on some of the access review's app reviews, at most 200, each named once. App reviews you leave out keep their settings.

Maximum array length: 200
owners
OwnersInput · object

The users and groups that own the access review, as {id} references to GET /v1/users and GET /v1/groups. Owners can update the access review and get its owner notifications. Name at least one, each active, and at most 100 users and 100 groups. A list you leave out is empty. Replaces every current owner. Omit it to keep the owners as they are.

Response

Successful Response

An access review is a campaign that reviews access across one or more apps.

id
string
required

The access review's ID.

url
string
required

A link to this access review in the Lumos web app.

name
string
required

The access review's name, unique in your organization.

status
enum<string>
required

Where the access review is in its lifecycle. in-preparation: its apps are importing, and it moves to in-progress when they finish. in-progress: the review is under way. scheduled: it waits for target_launch_date, and Lumos launches it on that date. scheduled-in-preparation: it is scheduled and its apps are still importing. duplicating: it is being created as a copy of another access review. completed: the review is finished.

Available options:
in-preparation,
in-progress,
completed,
duplicating,
scheduled,
scheduled-in-preparation
creation_path
enum<string>
required

How the access review was created: in the Lumos web app (ui), as the next run of a recurring review (recurrence), or through the API, CLI or MCP server (api, cli, mcp).

Available options:
ui,
recurrence,
api,
cli,
mcp
created_by_id
string | null

The ID of the user who created the access review.

deadline_at
string<date-time> | null

When reviewers' decisions are due.

completed_at
string<date-time> | null

When the access review was completed.

target_launch_date
string<date> | null

The date a scheduled access review launches on. Null when it isn't scheduled.

recurrence_config
RecurrenceConfig · object | null

The rule the access review recurs by. Null when it doesn't recur by rule. recurrence_config and recurrence_days_frequency are never both set.

recurrence_days_frequency
integer | null

The number of days between runs of an access review that recurs on a fixed interval. Null when it doesn't.

created_at
string<date-time> | null

When the access review was created.

updated_at
string<date-time> | null

When the access review was last updated.

apps
AppReview · object[] | null

The access review's app reviews. Requires expand=apps.

owners
OwnersOutput · object | null

The users and groups that own the access review, as the same User and Group that GET /v1/users and GET /v1/groups return. Owners can update the access review and get its owner notifications. Requires expand=owners.