Aquiring a region UID

The region ID is required for updating, refreshing, or deleting a region. The cURL command to use for acquiring a region is:


curl --noproxy <controller-ip> --header "X-Auth-Token:<auth_token>" --header "Content-Type:application/json" --fail -ksS --request GET --url https://<controller-ip>:8443/sdn/v2.0/regions/

For example, the following command acquires the region ID (uid) for the controller team in the region created in “Creating a region”.

curl --noproxy --header "X-Auth-Token:54a6f80a9ae243db89bfa05de4ced51d" --header "Content-Type:application/json" --fail -ksS 
--request GET --url