Perform bulk operations like activating, deactivating, and unblocking the users.
Body Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| action | string | required | Pass the action the administrator wants to apply in bulk to users in Intel Exchange. |
| ids | array | required | Pass the list of user IDs on which the bulk action has to be applied. |
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 POST \
--url "https://cs-testv2.cyware.com/ctixapi/rest-auth/users/bulk-actions/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
--data '{
"action": "activate",
"ids": [
"defb41db-937a-4a88-b47c-53fa6d220807"
]
}'View-only example — running live API calls requires a role with snippet testing access.
const url = "https://cs-testv2.cyware.com/ctixapi/rest-auth/users/bulk-actions/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";
const response = await fetch(url, {
method: "POST",
headers: {},
body: JSON.stringify({
"action": "activate",
"ids": [
"defb41db-937a-4a88-b47c-53fa6d220807"
]
}),
});
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/rest-auth/users/bulk-actions/"
params = {
"AccessID": "<your access id>",
"Signature": "<your signature>",
"Expires": "<your expires>"
}
headers = {}
payload = {
"action": "activate",
"ids": [
"defb41db-937a-4a88-b47c-53fa6d220807"
]
}
response = requests.request("POST", 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.
{
"action": "activate",
"ids": [
"defb41db-937a-4a88-b47c-53fa6d220807"
]
}View-only example — running live API calls requires a role with snippet testing access.
{
"details": "Action applied successfully"
}View-only example — running live API calls requires a role with snippet testing access.