Skip to main content
POST
Create Access Review

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

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>
required

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.

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.

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.

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

The apps to review, at most 200. If any of them can't be added, nothing is created. Leave it empty to add apps later.

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. Omit it to be the only owner yourself.

Response

Successful Response

202 response body for endpoints that launch an operation.

operation
OperationOutput · object
required

The launched operation.