Users.settings.filters: delete

Deletes a filter. Try it now.

Request

HTTP request

DELETE https://www.googleapis.com/gmail/v1/users/userId/settings/filters/id

Parameters

Parameter name Value Description
Path parameters
id string The ID of the filter to be deleted.
userId string User's email address. The special value "me" can be used to indicate the authenticated user.

Authorization

This request requires authorization with the following scope:

Scope
https://www.googleapis.com/auth/gmail.settings.basic

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.