---
title: "Revoke a GL integrity hard-check waiver"
method: POST
path: "/admin/gl-integrity-waivers/{id}/revoke"
tags: ["Admin"]
---

# Revoke a GL integrity hard-check waiver

`POST /admin/gl-integrity-waivers/{id}/revoke`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/admin/gl-integrity-waivers/{id}/revoke`
- Auth: HTTP bearer

#4322. Signers only. Sets only revoked_at and revoked_by_user_id. A waiver outside the body's company answers 404; an already revoked one answers 409. There is no update or delete.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `companyId` string, uuid, required

## Response `200`

One waiver (#4322)

- object
  - `success` boolean
  - `data` GlIntegrityWaiver
    - `id` string, uuid
    - `companyId` string, uuid
    - `violationKeys` string[]
    - `reason` string
    - `expiresAt` string, date-time
    - `signedByUserId` string, uuid
    - `signedAt` string, date-time
    - `revokedAt` string, date-time, nullable
    - `revokedByUserId` string, uuid, nullable
    - `active` boolean: Not revoked and expiring strictly after now

## Other responses

- `400`: Invalid waiver request (code GL_INTEGRITY_WAIVER_INVALID)
- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: Request conflicts with the durable onboarding state

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/admin/gl-integrity-waivers/:id/revoke/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
