Skip to main content
POST
Grant or revoke a time-bounded exception

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The person the request is made for (a WorkOS user id).

Nexio-Act-As-Email
string

The acting person's verified email, lowercased. Ignored without Nexio-Act-As.

Body

application/json
email
string
required
reason
string
required
action
string
ends_at
string
expected_revision
string
id
string
operator
string

The operator the calling app names, recorded in the audit snapshot; never trusted as the actor.

revoke
boolean
scope
object
starts_at
string
workflow
string

Response

OK

action
string
required

The audit action the change recorded.

data
object
required
before
any

The state the change replaced, as the audit recorded it, when there was one.

principal
string

The person the change is about.

request_id
string

The request's id, as logged.