Change Suppression Scope
PUT/suppression/:id/change-scope/:scope
Change the scope of an existing suppression list.
- LOCAL - Applies only to specific campaigns
- GLOBAL - Applies to all campaigns across the account
Request
Path Parameters
id int64required
ID of the suppression list
scope stringrequired
Possible values: [LOCAL
, GLOBAL
]
New scope for the suppression list
Responses
- 200
- 400
- 401
- 404
- 405
successful operation
- application/json
- Schema
- Example (from schema)
Schema
id int64
name string
type string
Possible values: [EMAIL
, MD5
, SHA256
]
scope string
Possible values: [LOCAL
, GLOBAL
]
fileProcessStatus string
Possible values: [UPLOADED
, IN_PROGRESS
, COMPLETED
, FAILURE
]
numberOfMembers int64
Total number of suppressed email addresses
{
"id": 1,
"name": "Suppression List 1",
"type": "EMAIL",
"scope": "LOCAL",
"fileProcessStatus": "COMPLETED",
"numberOfMembers": 100
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "Some error message"
}
API key is missing or invalid
Suppression list not found
Method Not Allowed
Loading...