/gmail/v1/users/{userId}/labels/{id}
DELETE
/gmail/v1/users/{userId}/labels/{id}Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
Request
Path Params
userId
string
required
The user's email address. The special value me
can be used to indicate the authenticated user.
id
string
required
The ID of the label to delete.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a year ago