API for detach section