PUT
/
reviews
/
{id}

Path Parameters

id
string
required

Resource identifier of the review

Body

application/json
status
enum<string>
required

The reviewed status

  • APPROVED - Approve the review resource
  • REJECTED - Reject the review resource
  • REVOKED - Revoke an approved review
Available options:
APPROVED,
REJECTED,
REVOKED

Response

200 - application/json
access_duration
integer
default: 1800000000000

The amount of time (nanoseconds) to allow access to the connection. It's valid only for jit type reviews`

created_at
string

The time the resource was created

id
string

Reousrce identifier

input
string

The input that was issued when the resource was created

input_clientargs
string[]

The client arguments when the resource was created

org
string

Organization identifier

review_connection
object

The review connection information

review_groups_data
object[]

Contains the groups that requires to approve this review

review_owner
object

Contains information about the owner of this resource

revoke_at
string

The time when this review was revoked

session
string

The id of session

status
enum<string>

The status of the review

  • PENDING - The resource is waiting to be reviewed
  • APPROVED - The resource is fully approved
  • REJECTED - The resource is fully rejected
  • REVOKED - The resource was revoked after being approved
  • PROCESSING - The review is being executed
  • EXECUTED - The review was executed
  • UNKNOWN - Unable to know the status of the review
Available options:
PENDING,
APPROVED,
REJECTED,
REVOKED,
PROCESSING,
EXECUTED,
UNKNOWN
type
enum<string>

The type of this review

  • onetime - Represents a one time execution
  • jit - Represents a time based review
Available options:
onetime,
jit