Use API to detach a target instance from a config pack
https://<ADM-endpoint-name>/stylebook/nitro/v2/config/configpacks/<configpack-ID>/actions/detach_targets
{
"detach_targets": [
{
"instance_id": "1b322685-3b23-4111-a9ce-56dd1c659e4c",
"id": "1b322685-3b23-4111-a9ce-56dd1c659e4c"
}
]
}