Updates the status of a subscriber to active or inactive.
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| subscriber_id | string | required | Pass the ID of a subscriber to update the status. |
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| is_active | boolean | required | Pass true to activate the subscriber. Pass false to deactivate the subscriber. |
Run it
Use the Request parameters panel to enter path IDs, query values, JSON body, and credentials. Then run any snippet below — all languages use the same values. Base URL: https://cs-testv2.cyware.com/ctixapi (change in API Settings).
Playground
Request parameters
Edit values here before running any snippet below (cURL, JavaScript, or Python). Code blocks are reference only — your inputs above are what gets sent.
Open API (HMAC signature) · Get credentials from Cyware Admin → Open API → Generate Credentials.
Signature and Expires are generated when you run a request. Access ID and Secret Key stay in memory for this tab only.
Credentials from Authentication auto-fill here for this product. If fields are empty after connecting, refresh this page or open the product docs again.
curl --request PUT \
--url "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/ae683e21-7376-4528-bee6-56802bd0b64f/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
--data '{
"is_active": true
}'View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/ae683e21-7376-4528-bee6-56802bd0b64f/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "PUT",
headers: {},
body: JSON.stringify({
"is_active": true
}),
});
const text = await response.text();
let data;
try { data = JSON.parse(text); } catch { data = text; }
console.log(response.status, data);View-only example — running live API calls requires a role with snippet testing access.
import requests
url = "https://cs-testv2.cyware.com/ctixapi/publishing/subscriber/ae683e21-7376-4528-bee6-56802bd0b64f/"
params = {
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
payload = {
"is_active": true
}
response = requests.request("PUT", url, params=params, headers=headers, json=payload)
print(response.status_code)
print(response.text)View-only example — running live API calls requires a role with snippet testing access.
{
"is_active": true
}View-only example — running live API calls requires a role with snippet testing access.
{
"status": "success"
}View-only example — running live API calls requires a role with snippet testing access.