API ReferenceEndpointsWorkspaces
Delete an alias
Deletes an alias or forward; mail to it bounces unless a catch-all takes it. Needs the admin role.
Authorization
cloady AuthorizationBearer <token>
Personal API token (cldy_…)
In: header
Path Parameters
workspaceSlug*string
address*string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/workspaces/string/mail/aliases/string"{ "ok": true}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.
Create or change an alias PUT
Makes an address deliver to mailboxes of the workspace, replacing its targets if it exists. The address must be on a domain of the workspace with email on and not be a mailbox (409 `address_taken`). Forwarding to outside addresses isn't available yet: a target that isn't a mailbox of the workspace answers 400 `bad_target`. Needs the admin role.