Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

The ID of the request to deny

Body

application/json

Denial parameters

comment
string
required

Comment for the denial

Example:

"Denied due to insufficient justification"

acting_user_id
string<uuid>

Deny as this Opal user instead of the caller. Only for service users an admin has allowed to act for users, in organizations with the feature enabled. The user must be active in the identity provider and be a reviewer on the request's current stage and not the request's target; the decision counts as theirs. ADMIN level is rejected.

level
enum<string>

The decision level for the approval

Available options:
REGULAR,
ADMIN
Example:

"REGULAR"

Response

200 - application/json

Request successfully denied

request
object

Request Object

Description

The Request object is used to represent a request.

Usage Example

Returned from the GET Requests endpoint.

Example: