Actions12
Label → Delete
AI-generatedSummary
Delete a Gmail label by specifying its unique label ID, using either OAuth2 refresh token or bearer token authentication.
Inputs
- Authentication (required) — Choose between using an auto-refreshing OAuth2 Refresh Token or a manual Bearer Token for API authentication.
- Custom Refresh Token — Optionally provide a custom OAuth2 refresh token to override the default credential token when using Refresh Token authentication.
- Label ID (required) — The unique identifier of the Gmail label to delete.
Output shape
a single JSON object indicating success and the deleted label ID
Returns an object with 'success' set to true and the 'labelId' of the deleted label upon successful deletion. If an error occurs and 'Continue On Fail' is enabled, the error message will be included in the output JSON.