Skip to main content
PATCH
Update a Gmail user label

Authorizations

Authorization
string
header
required

Session token passed as Authorization: Bearer <session-token> for user-authenticated Den routes.

Path Parameters

labelId
string
required
Required string length: 1 - 512

Body

application/json
name
string

User label name.

Required string length: 1 - 225
messageListVisibility
enum<string>
Available options:
show,
hide
labelListVisibility
enum<string>
Available options:
labelShow,
labelShowIfUnread,
labelHide

Response

Google's validated response.

id
string
required
Minimum string length: 1
name
string
required
Minimum string length: 1
type
enum<string>
required
Available options:
user,
system
{key}
any