Shield

Reject a proposal

Changed on

Learning keeps the rejection until the proposal expires, so it is not proposed again meanwhile. Also withdraws an earlier approval.

post/settings/shield/proposals/{proposal_id}/reject

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

proposal_idinteger required

Proposal ID

Response

Proposal rejected

decided_atstring date-time nullable
decided_byinteger nullable
expires_atstring date-time required

After this the proposal, and an approval of it, no longer apply.

first_seenstring date-time required
hitsinteger required

Events behind it in the last learning window.

idinteger required
kind'ip' | 'ja4' required

What a proposal names.

last_seenstring date-time required
reasonstring required

The evidence, as learning summarised it.

status'pending' | 'approved' | 'rejected' required

Where a learned proposal stands. Only approved ones apply.

subjectstring required

The address or the fingerprint.

verdict'allow' | 'log' | 'challenge' | 'block' required

challenge or block.

Example response

{
  "subject": "203.0.113.7"
}

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    1 more change in this revision