---
title: "deleteRepoExtensionInstallationUiShare"
---

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

# deleteRepoExtensionInstallationUiShare

Path: Forge API › extensions

`DELETE /repos/{repo_id}/extension-installations/{name}/ui-shares/{share_slug}`

Revoke one public share of the UI of main's installation: its address opens nothing from the next request on. It takes the share action on the installation. Revoking a share that doesn't exist does nothing.

## Path parameters

- `repo_id` (`deleteRepoExtensionInstallationUiShare.path.repo_id`; string, required)
  - pattern: `^repo_[0-7][0-9a-hjkmnp-tv-z]{25}$`
- `name` (`deleteRepoExtensionInstallationUiShare.path.name`; string, required)
  - maxLength: `129` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*\.[a-z0-9]+(?:-[a-z0-9]+)*$`
- `share_slug` (`deleteRepoExtensionInstallationUiShare.path.share_slug`; string, required)
  - maxLength: `53` · pattern: `^[a-z0-9]+(?:-[a-z0-9]+)*-[2-9b-df-hjkmnp-tv-z]{16}$`

## Code samples

### cURL

```bash
curl --request DELETE \
  --url '<base-url>/repos/<repo_id>/extension-installations/<name>/ui-shares/<share_slug>'
```

### TypeScript

```typescript
const url = '<base-url>/repos/<repo_id>/extension-installations/<name>/ui-shares/<share_slug>';
const options = {method: 'DELETE'};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "<base-url>/repos/<repo_id>/extension-installations/<name>/ui-shares/<share_slug>"

response = requests.delete(url)

print(response.text)
```

## Responses

### 204

<No Content>

### 400

InvalidRequest

#### Example

```json
{
  "_tag": "InvalidRequest",
  "part": "path",
  "issues": [
    {
      "path": [
        "string"
      ],
      "message": "string"
    }
  ]
}
```

- `_tag` (`deleteRepoExtensionInstallationUiShare.response.400._tag`; string, required)
  - one of `"InvalidRequest"`
- `part` (`deleteRepoExtensionInstallationUiShare.response.400.part`; string, required)
  - one of `"path"`, `"query"`, `"headers"`, `"body"`
- `issues` (`deleteRepoExtensionInstallationUiShare.response.400.issues`; array of object, required)
  - `path` (`deleteRepoExtensionInstallationUiShare.response.400.issues.path`; array\<any of\>, required)
    - any of the following: `string`, `integer`
  - `message` (`deleteRepoExtensionInstallationUiShare.response.400.issues.message`; string, required)

### 401

InvalidCredentials

#### Example

```json
{
  "_tag": "InvalidCredentials"
}
```

- `_tag` (`deleteRepoExtensionInstallationUiShare.response.401._tag`; string, required)
  - one of `"InvalidCredentials"`

### 403

Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired

#### Example

```json
{
  "_tag": "Forbidden",
  "message": "string"
}
```

Any of the following:

- `ForbiddenEncoded`
  - `_tag` (`ForbiddenEncoded._tag`; string, required)
    - one of `"Forbidden"`
  - `message` (`ForbiddenEncoded.message`; string, required)
- `ForbiddenOriginEncoded`
  - `_tag` (`ForbiddenOriginEncoded._tag`; string, required)
    - one of `"ForbiddenOrigin"`
- `RequiresPersonalSessionEncoded`
  - `_tag` (`RequiresPersonalSessionEncoded._tag`; string, required)
    - one of `"RequiresPersonalSession"`
- `RunBranchRequiredEncoded`
  - `_tag` (`RunBranchRequiredEncoded._tag`; string, required)
    - one of `"RunBranchRequired"`
  - `branch` (`RunBranchRequiredEncoded.branch`; string, required)
    - minLength: `1`
  - `message` (`RunBranchRequiredEncoded.message`; string, required)

### 404

ExtensionInstallationNotFound | RepoNotFound

#### Example

```json
{
  "_tag": "ExtensionInstallationNotFound",
  "extension_name": "string",
  "message": "string"
}
```

Any of the following:

- `ExtensionInstallationNotFoundEncoded`
  - `_tag` (`ExtensionInstallationNotFoundEncoded._tag`; string, required)
    - one of `"ExtensionInstallationNotFound"`
  - `extension_name` (`ExtensionInstallationNotFoundEncoded.extension_name`; string, required)
    - minLength: `1`
  - `message` (`ExtensionInstallationNotFoundEncoded.message`; string, required)
- `RepoNotFoundEncoded`
  - `_tag` (`RepoNotFoundEncoded._tag`; string, required)
    - one of `"RepoNotFound"`

### 429

RateLimited

#### Example

```json
{
  "_tag": "RateLimited"
}
```

- `_tag` (`deleteRepoExtensionInstallationUiShare.response.429._tag`; string, required)
  - one of `"RateLimited"`

### 500

ControlPlaneFailure | RepoFailure | OrgFailure

#### Example

```json
{
  "_tag": "ControlPlaneFailure",
  "reason": "string"
}
```

Every option has:

- `reason` (`<option>.reason`; string, required)

Any of the following, each adding:

- `ControlPlaneFailureEncoded`
  - `_tag` (`ControlPlaneFailureEncoded._tag`; string, required)
    - one of `"ControlPlaneFailure"`
- `RepoFailureEncoded`
  - `_tag` (`RepoFailureEncoded._tag`; string, required)
    - one of `"RepoFailure"`
- `OrgFailureEncoded`
  - `_tag` (`OrgFailureEncoded._tag`; string, required)
    - one of `"OrgFailure"`

### 503

SessionUnavailable | RateLimitUnavailable

#### Example

```json
{
  "_tag": "SessionUnavailable"
}
```

Any of the following:

- `SessionUnavailableEncoded`
  - `_tag` (`SessionUnavailableEncoded._tag`; string, required)
    - one of `"SessionUnavailable"`
- `RateLimitUnavailableEncoded`
  - `_tag` (`RateLimitUnavailableEncoded._tag`; string, required)
    - one of `"RateLimitUnavailable"`


Source: https://buildrforge.com/docs/api/delete-repo-extension-installation-ui-share/index.md
