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.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
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"}Create a mailbox POST
Creates a mailbox on a domain of the workspace with email on and returns its generated password, shown only this once. Mailboxes are free. A workspace has up to 25 mailboxes, and the quotas of every workspace its owner owns add up to at most 10 GB, or 100 GB once the owner has a card on file. Answers 409 `address_taken` when the address is already a mailbox or alias, `email_off` when its domain has no email, `mailbox_limit` or `storage_limit` past those limits, and `storage_full` while Cloady Mail has no room for more storage. Needs the admin role.
Delete a mailbox DELETE
Deletes a mailbox and all of its mail. Aliases that deliver only to it are deleted too. Needs the admin role.