IRPCNotificationRules.RemoveNotificationRule
Vault API / standard write session returns metadata structure version
Deletes a notification rule.
| Service | Notification rules MFiles.IRPCNotificationRules |
|---|---|
| gRPC method | /MFiles.IRPCNotificationRules/RemoveNotificationRule |
| HTTP (mf-http-grpc) | POST /grpc/v1/remove-notification-rule |
| Request | RemoveNotificationRuleRequest |
| Response | RemoveNotificationRuleResponse |
| 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) |
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.".
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. |
Response: RemoveNotificationRuleResponse
No fields.