Sign in

Update label

documented

Updates the specified label.

PUT /gmail/v1/users/{userId}/labels/{id}Usersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://gmail.googleapis.com/gmail/v1/users/{{$user_id}}/labels/{{$id}}" \\n  -X PUT \\n  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \\n  -H "Content-Type: application/json" \\n  -H "Accept: application/json" \\n  -d '{\"name\":\"{{$name}}\",\"messageListVisibility\":\"{{$messageListVisibility}}\",\"labelListVisibility\":\"{{$labelListVisibility}}\",\"type\":\"{{$type}}\",\"color\":{\"backgroundColor\":\"{{$backgroundColor}}\",\"textColor\":\"{{$textColor}}\"}}'