Herald
OpenapiInternalpoints

Revoke the active quota entitlement identified by `source_id`. Idempotent: a no-match returns `{ revoked: true }` (the post-condition "no active entitlement" holds).

POST
/api/internal/points/{realmId}/quota-entitlement/revoke

Path Parameters

realmId*string

Realm ID

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

bucketId*string
Formatuuid
creditType?string|null
sourceId*string
userId*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/internal/points/string/quota-entitlement/revoke" \  -H "Content-Type: application/json" \  -d '{    "bucketId": "1980377d-7926-47e0-9e64-a9d0c746404d",    "sourceId": "string",    "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"  }'
{  "revoked": true}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}