Disconnect Gmail

DELETE/api/v1/gmail/disconnect

Revoke the Google grant (best effort) and delete the stored connection. DayZero never stored any email content.

Operation ID: disconnect_api_v1_gmail_disconnect_delete·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

200Successful Response

successboolean
messagestring
codestring
dataGmailDisconnectResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject