Create an admin_block suppression for a hub
email-suppressions-hub
Create an admin_block suppression for a hub
Create a manual admin_block suppression for a specific email address.
Scope is always ‘hub’. reason is always ‘admin_block’. hub_id comes from the URL path. source_event_type is ‘manual’.
team_id is resolved from the hub row (CHECK constraint requires hub-scope rows to have team_id NOT NULL). Returns 404 if the hub does not exist.
Returns 201 with the created resource on success, 404 if hub unknown, 422 on bad input.
POST
Create an admin_block suppression for a hub
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/vnd.api+json
Response
Successful Response
Single-resource JSON:API response.
JSON:API resource object for email-suppression.