Skip to main content
POST
/realms/{realmId}/organizations/{organizationId}/policy-request/{policyRequestId}/force-deny

Authorizations

Authorization
string
header
required

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

Path Parameters

realmId
string
required
organizationId
string
required
policyRequestId
string
required

Response

200 - application/json

Successful response

id
string
required
realmId
string
required
organizationId
string
required
accountId
string
required

Kept from the request payload so the subject can be fulfilled later.

walletId
string
required
context
required

The business surface a policy governs.

Available options:
PAYMENT,
SPEND_REVIEW,
TRAVEL
subjectType
string
required
subjectId
string
required
requester
object
required
body
object
required

Full subject entity snapshot.

policyId
string
required

The matched business policy.

status
enum<string>
required

Root lifecycle: REQUESTED → APPROVED | DENIED | CANCELED | EXPIRED (terminal).

Available options:
REQUESTED,
APPROVED,
DENIED,
CANCELED,
EXPIRED
executionStatus
enum<string>
required

Runs only after the root reaches APPROVED.

Available options:
WAITING,
PROCESSING,
EXECUTED,
FAILED
approvalDeadline
required

createdAt + policy.actions.approvalDeadlineHours (default 72h).

approvalHierarchy
boolean
required

Copied from policy.actions.hierarchy.

approvals
object[]
required
executionFailReason
string
executionMoveBalance
object

Copied from the matched policy at creation.

createdAt
updatedAt