View Information for a QDS Account¶
-
GET
/api/v2/accounts/
¶
Use this API to view the details of the current account.
Required Role¶
The following users can make this API call:
- Users who belong to the system-admin or system-user group can call this API request.
- Users who belong to a group associated with a role that allows viewing an account’s details. See Managing Groups and Managing Roles for more information.
Parameters¶
None.
Request API Syntax¶
curl -X GET -H "X-AUTH-TOKEN:<AUTH-TOKEN>" -H "Content-Type: application/json" -H "Accept: application/json" \
"https://gcp.qubole.com/api/v2/accounts/"
Sample Response¶
{
"id": “$account_id”,
"access_mode": "$access_mode",
"project_id": "$project_id",
"storage_location": "$storage_location",
"qubole_service_account": "$qubole_service_account",
"instance_service_account": "$instance_service_account",
"compute_service_account": "$compute_service_account",
"compute_validated": "$compute_validation_status",
"storage_validated": "$storage_validation_status",
"validation_status": "$validation_status",
"validation_error_message": "$validation_error_message", (Only if validation_status is completed and validation has failed)
"data_buckets": "$data_buckets",
"data_buckets_validation_status": "$data_buckets_validation_status",
"data_buckets_error_message": "$data_buckets_error_message", (only if data buckets validation has failed)
"name": "$name",
"idle_session_timeout": "$idle_session_timeout",
"authorized_ssh_key": "$authorized_ssh_key"
}