---
title: "Revoke Dataset Access"
method: POST
path: "/v2/polaris/datasets/{dataset_id}/revoke"
tags: ["Polaris"]
---

# Revoke Dataset Access

`POST /v2/polaris/datasets/{dataset_id}/revoke`

## Request

- Base URL: `https://api.carbonarc.co` (the document declares no server; this is the origin it was published from)
- URL: `https://api.carbonarc.co/v2/polaris/datasets/{dataset_id}/revoke`
- Auth: none declared

Detach a dataset's catalog role from a principal's per-client role.

The SKU — including its ``catalog`` — comes entirely from the request; the
graph is never consulted. Idempotent: detaching a role that isn't attached
returns ``revoked=False``. The catalog role itself is preserved (other
principals may share it); orphaned roles are the reconciler's job.

## Path parameters

- `dataset_id` string, required

## Request body

- RevokeDatasetRequest
  - `principal_name` string, required
  - `catalog` string, required: Catalog of the SKU to revoke (e.g. 'sample', 'bulk'). Required — the exact SKU comes from the caller; power-api never infers it.
  - `lag` string, nullable
  - `cut` string, nullable

## Response `200`

Successful Response

- RevokeDatasetResponse
  - `dataset_id` string, required
  - `principal_name` string, required
  - `principal_role` string, required
  - `catalog_role` string, required
  - `catalog` string, required
  - `revoked` boolean, required

## Other responses

- `404`: Not Found
- `422`: Validation Error

---

[API](https://skmtc.dev/carbonarc/apis/carbon-arc-api-documentation.md) · [All operations](https://skmtc.dev/carbonarc/apis/carbon-arc-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/carbonarc/apis/carbon-arc-api-documentation/revisions/7362ca3a398d?raw)
