> ## Documentation Index
> Fetch the complete documentation index at: https://docs.generalvalidation.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stage exact product-owned Fabric Viewer cleanup

> Creates a time-limited removal plan for the Viewer assignments created by General Validation. Review the plan before removing permissions. Source registration, Dataset import, and access confirmation for the workspace are paused until the plan completes, expires, or is cancelled.

Requires the GV.APIOwner application role, or a higher role (Owner > Contributor > Reader).

API · Discovery

POST `/api/v1/fabric-connections/{sourceUuid}/removal-plans`

Creates a time-limited removal plan for the Viewer assignments created by General Validation. Review the plan before removing permissions. Source registration, Dataset import, and access confirmation for the workspace are paused until the plan completes, expires, or is cancelled. Requires the GV.APIOwner application role, or a higher role (Owner > Contributor > Reader).

Operation ID · stage\_fabric\_connection\_removal

## Request example

```bash theme={null}
curl --request POST \
  --url 'https://api.generalvalidation.com/api/v1/fabric-connections/00000000-0000-4000-8000-000000000001/removal-plans' \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer <access-token>' \
  --header 'Idempotency-Key: <unique-idempotency-key>'
```

## Authentication and access

* **Required role:** GV.APIOwner
* **Data classification:** metadata
* **Side effects:** configurationWrite

Use an authentication scheme declared below. Ordinary workloads use application tokens; signed-in users use delegated tokens and Organization membership. Activation and invitation acceptance require a person, and execution callbacks require their registered identity.

* Microsoft Entra delegated user token
* Microsoft Entra application token

## Parameters

### sourceUuid

path Required

Opaque Fabric Discovery Source UUID.

`string (uuid)`

Opaque Fabric Discovery Source UUID.

### Idempotency-Key

header Required

Required caller-chosen retry identity. Use 1-128 visible ASCII characters and reuse it only for an exact retry of this request.

`string`

minimum length: 1 · maximum length: 128

## Responses

This guide summarizes response status codes and headers. Retrieve the deployed, authenticated OpenAPI document for the exact response body schemas and examples. The API also provides an authenticated Swagger UI; opening it in a browser does not automatically attach a bearer token.

Error responses use `application/problem+json`. The response's stable `code` and `type` map to the [error-code reference](/errors).

### 200

An existing or replayed removal plan.

#### Headers

* **ETag:** `string`
* **Idempotency-Replayed:** `boolean`
* **Location:** `string`

### 201

Removal plan staged.

#### Headers

* **ETag:** `string`
* **Idempotency-Replayed:** `boolean`
* **Location:** `string`

### 401

A valid Microsoft Entra bearer token is required.

### 403

The authenticated principal does not have the required role.

### 404

The resource does not exist in this tenant.

### 409

The operation conflicts with current resource or Azure state.

### 422

The request is syntactically valid but semantically invalid.

### 429

The bounded application request rate was exceeded.

#### Headers

* **Retry-After:** Seconds to wait before retrying. `integer`minimum: 1

### 503

A required dependency is temporarily unavailable.

#### Headers

* **Retry-After:** Seconds to wait before retrying. `integer`minimum: 1
