cloadyDocs
API ReferenceEndpointsWorkspaces

Change a mailbox

Renames a mailbox, changes its storage, IMAP, POP3 and sending, suspends or reactivates it, sets which members read it, or resets its password, which comes back once in `password`. Answers 409 `storage_limit` when more storage would pass the owner's limit, `storage_full` while Cloady Mail has no room for more, and `migrating` for a password reset while a migration copies into the mailbox. Needs the admin role.

PATCH
/api/workspaces/{workspaceSlug}/mail/mailboxes/{address}
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
address*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/workspaces/string/mail/mailboxes/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "mailbox": {    "address": "string",    "name": "string",    "domain": "string",    "accountId": "string",    "quotaBytes": -9007199254740991,    "usedBytes": -9007199254740991,    "imap": true,    "pop3": true,    "send": true,    "status": "active",    "members": [      "string"    ],    "readable": true,    "lastSignInAt": "string",    "createdAt": "string"  },  "password": "string"}