Skip to Content
SendlySendly
API ReferenceMailboxes

Revoke an app password

DELETE
/api/mailboxes/{id}/app-passwords/{passwordId}

Revoke one app password. Any mail client still configured with it stops authenticating immediately — there is no grace period — and the mailbox and its messages are untouched.

Requires an admin of the project. An API key is refused with 401.

Requires the mailboxes:write scope — Create and delete mailboxes on your verified domains.

cookiebetter-auth.session_token<token>

BetterAuth session cookie. Used by the dashboard / browser clients. When present, the active project is taken from the x-project-id header.

id*string
Formatuuid
passwordId*string
Formatuuid

Response Body

App password revoked

application/json
  1. response
success*true
Value intrue
data*
Example Request
curl -X DELETE 'https://api.sendly.now/api/mailboxes/497f6eca-6276-4993-bfeb-53cbbbba6f08/app-passwords/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "success": true,  "data": {    "revoked": true  }}