---
title: "Revoke a claim"
method: POST
path: "/v1/claims/{claimId}/revoke"
tags: ["Claims"]
---

# Revoke a claim

`POST /v1/claims/{claimId}/revoke`

## Request

- Base URL: `https://idaas.yourflexpay.com/api`
- URL: `https://idaas.yourflexpay.com/api/v1/claims/{claimId}/revoke`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/docs/v1/claims/:claimId/revoke/post.ts> (a function with typed inputs; its response is checked against the schema)

Revokes a previously approved claim for the authenticated application so it is no longer considered valid.

## Path parameters

- `claimId` string, uuid, required

## Response `200`

Claim revoked

- ApiResponseClaimResponse
  - `success` boolean
  - `message` string
  - `errorCode` string
  - `data` ClaimResponse
    - `id` string, uuid
    - `tagId` string, uuid
    - `tagString` string
    - `subjectId` string, uuid
    - `subjectExternalId` string
    - `requestedByAppId` string, uuid
    - `requestedByAppName` string
    - `state` 'PENDING' | 'ACTIVE' | 'REVOKED' | 'DENIED'
    - `requestedAt` string, date-time
    - `approvedAt` string, date-time
    - `revokedAt` string, date-time
    - `consentToken` string
    - `approvalUrl` string
    - `tokenExpiresAt` string, date-time
  - `errors` string[]
  - `timestamp` string, date-time

## Other responses

- `401`: Missing or invalid bearer token
- `404`: Claim not found
- `409`: Claim is not in a revocable state

## Changes

- **2026-04-17** `db1f954badfb`: 4 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `404`
  - added the non-success response with the status `409`
  - added the optional property `errorCode` to the response with the `200` status

[Operation history](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/changes/v1/claims/:claimId/revoke/post.md)

---

[API](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api.md) - [All operations](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/reflexpay/apis/idaas-identity-as-a-service-api/revisions/db1f954badfb?raw)
