cURL
curl --request GET \ --url https://api.xplenty.com/{account_id}/api/regions \ --header 'Accept: <accept>' \ --header 'Authorization: Basic <encoded-value>'
[ { "id": "amazon-web-services::us-east-1", "name": "AWS - US East (N. Virginia)", "group_name": "Amazon Web Services" } ]
Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...
curl -u YOUR_API_KEY: https://api.xplenty.com/...
API version header — required on all requests
Successful response
"amazon-web-services::us-east-1"
"AWS - US East (N. Virginia)"
"Amazon Web Services"
Was this page helpful?