DELETE
/api/v1/users/{user}/notifications/{notification}Delete a user notification
Deletes a notification from a user's notification list. Supply the user and notification identifiers for the notification you want to delete.
userstringrequired
The identifier of the user who owns the notification.
notificationstringrequired
The identifier of the notification to delete.
200Confirms that the notification was deleted.
defaultDefault error response
codeintegeroptional
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
messagestringoptional
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
detailsarray<object>optional
A list of messages that carry the error details. There is a common set of message types for APIs to use.
Error handling
The user path parameter identifies the user who owns the notification, and the notification path parameter identifies the notification to delete. Use the notification associated with that user.
