---
title: "Revoke provider data consent"
method: POST
path: "/v1/consents/{consentId}/revoke"
tags: ["Customers"]
---

# Revoke provider data consent

`POST /v1/consents/{consentId}/revoke`

## Request

- Base URL: `https://hyperscale0.ai`
- URL: `https://hyperscale0.ai/v1/consents/{consentId}/revoke`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Marks an active consent record revoked, with the time and reason.

## Path parameters

- `consentId` string, required: Hyperscale customer consent ID

## Headers

- `X-Hyperscale-Environment` 'sandbox' | 'live'
- `Idempotency-Key` string, required

## Request body

- object
  - `productId` string, required: Hyperscale product ID
  - `reason` string, required

## Response `200`

Success

- ConsentRevokeOutput
  - `consentId` string, required: Hyperscale customer consent ID
  - `tenantId` string, required: Organization tenant ID
  - `productId` string, required: Hyperscale product ID
  - `subjectKind` 'customer' | 'customer_access' | 'entity', required
  - `subjectId` string, required
  - `status` 'revoked', required
  - `revokedAt` string, date-time, required
  - `reason` string, required

## Other responses

- `default`: ErrorResponse. See x-error-codes and x-errors for codes, HTTP statuses and retry guidance.

---

[API](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api.md) · [All operations](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperscale0/apis/hyperscale-product-api/revisions/e9e8faa044d5?raw)
