Suppress an email address
Adds a manual suppression so nothing is sent to the address. The address is trimmed and lowercased. When an active entry already covers the address, it is returned with status 200: its scope widens to all if you ask for all, a soft-bounce pause becomes a permanent manual entry, and a permanent entry is never shortened. When there is no active entry, or the previous one has expired, a new entry is stored and returned with status 201. Calling it twice with the same body has the same effect as calling it once.
Request
- Base URL: https://shipmail.to/api/v1
- URL: https://shipmail.to/api/v1/suppressions
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://shipmail.to/api/auth/oauth2/authorize, token URL https://shipmail.to/api/auth/oauth2/token)
Headers
OAuth access tokens only. The organization ID this request acts on. Required when the OAuth connection was approved for several organizations (400 validation_error without it); optional with one. An organization the connection was not approved for returns 403 authorization_error. Ignored for API keys, which belong to one organization.
Request body
Response
An active entry already covered the address. Returns it, widened if requested.
Changes
No recorded changes to this operation across all 1 revision of this API.