Skip to main content
POST
Dismiss pending TIL requests without a decision

Authorizations

Authorization
string
header
required

Authorization: Bearer <token> where <token> is either a neo_sk_<env>_<secret> API key (service account) or a Microsoft Entra ID access token (dashboard user).

Body

application/json

Close pending agent requests without a decision. Name the requests with request_ids, or reach every pending request created up to created_before, narrowed by the other filters.

agent_id
integer | null

Only requests raised by this agent.

approver
string | null

Only requests sent to this approver. Honored for admins and API callers; a non-admin always reaches only their own requests.

created_after
string<date-time> | null

Only requests created at or after this ISO-8601 timestamp.

created_before
string<date-time> | null

Dismiss pending requests created at or before this ISO-8601 timestamp. Needed when request_ids is not given.

dry_run
boolean
default:false

Count the requests this call would dismiss, and change nothing.

note
string | null

Why the requests were dismissed; stored on each one.

request_ids
integer[] | null

The requests to dismiss, in the caller's own tenant. At most 500 ids.

Required array length: 1 - 500 elements

Response

Success.

data
TilDismissResponse · object
required
meta
object
required