Capability Sources

Permanently delete a Gmail user label

Changed on

Permanently removes the user label and its assignment from every message and thread, without deleting the messages. Reads its type first and refuses system labels. Requires gmail.labels or gmail.modify and explicit user confirmation. Uses only the calling member's selected connected Google account. Perform writes only when explicitly requested by the user; capability discovery or selection is not authorization. Never automatically retry an uncertain write.

delete/v1/capabilities/google-workspace/gmail-label/{labelId}

Request

  • Base URL
    https://api.openworklabs.com
  • URL
    https://api.openworklabs.com/v1/capabilities/google-workspace/gmail-label/{labelId}
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

labelIdstring required

Request body

confirmtrue required

True only when the user explicitly requested this action on this resource. Discovering or selecting a capability is not authorization.

Response

Google's validated response.

oktrue required

Changes

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      added the optional property to the response with the status