# IRPCClientScript.RemoveScriptApplication

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Vault API](https://developer.m-files.com/APIs/gRPC-API/vault/index.md) > [Client scripts and UI extension applications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/RemoveScriptApplication/

Badges: `Vault API / standard` `write` `session`

Uninstalls an application from the vault.

- **Service:** [Client scripts and UI extension applications](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/index.md) `MFiles.IRPCClientScript`
- **gRPC method:** `/MFiles.IRPCClientScript/RemoveScriptApplication`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/remove-script-application`
- **Request:** [`RemoveScriptApplicationRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/RemoveScriptApplication/index.md#request)
- **Response:** [`RemoveScriptApplicationResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/RemoveScriptApplication/index.md#response)
- **Book and level:** Vault API, standard
- **Kind:** write
- **Session:** Required: the session ID from LogIn in the mfiles-session-id-bin metadata.
- **Idempotent:** no
- **Returns metadata structure version:** no
- **Streaming:** none (unary)

<a id="remarks"></a>

## Remarks

- Requires the vault right `change_metadata_structure`.
- Applications that have this application as their master application are uninstalled too.
- An unknown GUID fails with "Not found.".
- To stop a vault application without uninstalling it, use
  [SetScriptApplicationServerEnable](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/SetScriptApplicationServerEnable/index.md).

<a id="request"></a>

## Request: RemoveScriptApplicationRequest

> Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

| Field | Type | Description |
|---|---|---|
| `script_application` | `string` | The GUID of the application to uninstall. |

<a id="response"></a>

## Response: RemoveScriptApplicationResponse

No fields.

<a id="related"></a>

## Related methods

- [SetScriptApplicationServerEnable](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCClientScript/SetScriptApplicationServerEnable/index.md): Enables or disables an application in the vault.
