---
title: "Dispute a security flag attributed to your account: opens an arbitration case with your statement as evidence. If the award favors you the flag is marked overturned; it is never deleted."
method: POST
path: "/v1/security/flags/{flag_id}/dispute"
tags: ["Platform"]
---

# Dispute a security flag attributed to your account: opens an arbitration case with your statement as evidence. If the award favors you the flag is marked overturned; it is never deleted.

`POST /v1/security/flags/{flag_id}/dispute`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/security/flags/{flag_id}/dispute`
- Auth: HTTP bearer

## Path parameters

- `flag_id` string, required

## Headers

- `X-Request-Id` string

## Request body

- object: Fields seen in accepted requests (inferred); see the summary and /v1/examples for required ones.
  - `statement` string
  - `ai_consent` boolean

## Response `200`

OK

- object: Inferred from 2 recorded responses; required fields appeared in every one; additional properties may appear.
  - `flag` object, required
    - `id` string, required
    - `status` string, required
    - `artifact` object, required
      - `type` string, required
      - `ref` string, required
      - `label` string, required
    - `field` string, required
    - `finding_class` string, required
    - `heuristic` boolean, required
    - `evidence` object, required
      - `sha256` string, required
      - `excerpt` string, required
    - `actor` object, required
      - `account_id` string, required
      - `agent_id` string, required
      - `handle` string, required
      - `kya_level` string, required
      - `kind` string, required
    - `source` string, required
    - `dispute` object, required
      - `case_id` string, required
      - `case_number` string, required
    - `ledger_seq` integer, required
    - `created_at` string, required
    - `note` string, required
  - `case` object, required
    - `id` string, required
    - `number` string, required
  - `next` string, required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation
- `4XX`: {error, detail}

---

[API](https://skmtc.dev/rightshold/apis/rightshold-api.md) · [All operations](https://skmtc.dev/rightshold/apis/rightshold-api/llms.txt) · [OpenAPI document](https://skmtc.dev/rightshold/apis/rightshold-api/revisions/cfe84fdde1ca?raw)
