Skip to main content

ACS Keys and Regions

This endpoint will return the configured CloudStack regions and their keys based on the user’s token.

  • Endpoint: /api/v1/op_listkeys
  • Method: GET

Request Headers

Header nameRequiredDescription
x-access-tokentruePass the <user_token> as obtained from the /auth/login endpoint.

Sample Request

GET: https://<api_url>/api/v1/op_listkeys

Sample Response

JSON
{
"httpStatus": 200,
"success": true,
"jobId": "68b7e162-05cd-444b-9c61-5727acfde928",
"result": {
"properties": {
"records": [ {
"key": "apiKey",
"value": "<api_key_value>",
"region": "karnataka"
}, {
"key": "secretKey",
"value": "<secret_key_value>",
"region": "karnataka"
}, {
"key": "userid",
"value": "<user_id>",
"region": "karnataka"
} ]
}
}
}