Currently this is only available via the GUI.
This feature request is to introduce this functionality to users via a CircleCI API endpoint
Created by Ervin Grapp