Revoke provider data consent
consent.revoke
Marks an active consent record revoked, with the time and reason.
POST /v1/consents/{consentId}/revoke
Scopes: consent:write
Input
| Field | Type | Description |
|---|---|---|
productId required | string | Hyperscale product ID |
consentId required | string | Hyperscale customer consent ID |
reason required | string | |
idempotencyKey required | string | New per change; reuse only to retry it. |
confirmation required | consent_revoke | consent.revoke | This tool's name, once the founder agrees. |
Request sample
curl --request POST 'https://console.hyperscale0.ai/v1/consents/{consentId}/revoke' \
--header "Authorization: Bearer $HYPERSCALE_API_KEY" \
--header 'X-Hyperscale-Environment: sandbox' \
--header 'Content-Type: application/json' \
--data-raw '{
"productId": "<string>",
"reason": "<string>",
"idempotencyKey": "<string>",
"confirmation": "<consent_revoke | consent.revoke>"
}'