membershipRevoke
Use the SDK for application integration. This read-only reference covers Commerce, Customer Auth, Membership and Events.
All HTTP operationsTenant delegated HMAC over exact raw bytes with timestamp and delivery ID; body membershipId must exactly equal path id. Missing/foreign membership, wrong delegated method or signature is denied before ledger action. Duplicate deliveries return received=true,duplicate=true; valid response is not independent provider verification.
membershipSignaturex-membership-signature<token>HMAC of the exact raw body, timestamp and delivery ID using the tenant delegated billing secret. Requires x-membership-timestamp and x-membership-delivery-id as well; no bearer credential substitutes for this proof.
id*stringDocument ID
x-membership-timestamp*string1 <= lengthx-membership-delivery-id*string1 <= lengthapplication/json- body
kind*"revoke""revoke"membershipId*string1 <= lengthActual shaped success body
application/json- response
received*truetrueduplicate?truetrueExamples may be generated from schemas; they are illustrative, not recorded successful API calls. Example snippets may omit required authentication headers.
curl -X POST 'https://api.01.software/api/memberships/string/revoke' \ -H 'x-membership-timestamp: string' \ -H 'x-membership-delivery-id: string' \ -H 'Content-Type: application/json' \ -d '{ "kind": "revoke", "membershipId": "string"}'{ "received": true, "duplicate": true}