StyleBook configuration

Use API to detach a target instance from a config pack

When you detach a target instance from a config pack, the changes made to the config pack doesn’t deploy to that instance. You can use API to detach a target instance.

POST: https://<ADM-endpoint-name>/stylebook/nitro/v2/config/configpacks/<configpack-ID>/actions/detach_targets

Payload:

{
    "detach_targets": [
        {
            "instance_id": "1b322685-3b23-4111-a9ce-56dd1c659e4c",
            "id": "1b322685-3b23-4111-a9ce-56dd1c659e4c"
        }
    ]
}
<!--NeedCopy-->
Use API to detach a target instance from a config pack

In this article