# IRPCNotificationRules.RemoveNotificationRule

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) > [Notification rules](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNotificationRules/index.md)

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

Badges: `Vault API / standard` `write` `session` `returns metadata structure version`

Deletes a notification rule.

- **Service:** [Notification rules](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNotificationRules/index.md) `MFiles.IRPCNotificationRules`
- **gRPC method:** `/MFiles.IRPCNotificationRules/RemoveNotificationRule`
- **HTTP (mf-http-grpc):** `POST /grpc/v1/remove-notification-rule`
- **Request:** [`RemoveNotificationRuleRequest`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNotificationRules/RemoveNotificationRule/index.md#request)
- **Response:** [`RemoveNotificationRuleResponse`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCNotificationRules/RemoveNotificationRule/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:** yes (in the mfiles-metadata-version-bin trailer)
- **Streaming:** none (unary)

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

## Remarks

- Callers can delete their own private rules (no special right needed) and, with the vault
  right `manage_common_notification_rules`, common rules.
- Any other ID, including a private rule of another user, fails with "Not found.".

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

## Request: RemoveNotificationRuleRequest

> 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 |
|---|---|---|
| `id` | `int32` | The ID of the rule to delete. |

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

## Response: RemoveNotificationRuleResponse

No fields.
