Appearance
Bulk Deactivate Sites
Deactivate many site activations in one request, freeing their license seats.
POST /v1/sites/bulk/deactivateRequest Body
json
{
"ids": ["act_xxx", "act_yyy"]
}| Field | Required | Type | Description |
|---|---|---|---|
ids | Yes | string[] | Site IDs to deactivate |
Response
json
{
"data": {
"affected": 2
}
}Example
bash
curl -X POST "https://api.packedge.dev/v1/sites/bulk/deactivate" \
-H "Authorization: Bearer pk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"ids": ["act_xxx", "act_yyy"]
}'Notes
- Site records are preserved for history (status becomes
inactive) - IDs that don't belong to your account are silently skipped (reflected in the
affectedcount)
