Starting from Apstra relese 4.2.0, users can now administratively enable and disable interfaces using the device context in the UI or via the API.
Please see the DOCS for details.https://www.juniper.net/documentation/us/en/software/apstra4.2/apstra-user-guide/topics/task/interface-datacenter-disable.html
https://www.juniper.net/documentation/us/en/software/apstra4.2/apstra-user-guide/topics/task/interface-datacenter-enable.html