Get site-wide regions for workspace connections
GET
CoderSessionTokenheader
Coder-Session-Token<token>OK
application/json- response
regions?array<>The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.
curl -X GET \ "$CODER_URL/api/v2/regions" \ -H "Coder-Session-Token: $CODER_SESSION_TOKEN"Example Response200
{ "regions": [ { "display_name": "string", "healthy": true, "icon_url": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "path_app_url": "string", "wildcard_hostname": "string" } ]}