You need to enable JavaScript to run this app.
Volcengine Managed Service for Prometheus

Volcengine Managed Service for Prometheus

Copy page
Download PDF
Workspace
GetWorkspaceAuthInfo
Copy page
Download PDF
GetWorkspaceAuthInfo
Obtain workspace authentication information.​
Request description​
  • Request method: POST​
  • Request URL: https://vmp.cn-beijing.volcengineapi.com?Action=GetWorkspaceAuthInfo&Version=2021-03-03​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
Request descriptions​
​
Parameters​
Type​
Required​
Sample value​
Description​
Action​
String​
Yes​
GetWorkspaceAuthInfo​
The name of the API. The current API name is GetWorkspaceAuthInfo.​
Version​
String​
Yes​
2021-03-03​
The API version. The API version is 2021-03-03.​
Id​
String​
Yes​
0d80054b-f0f5-4289-ad4a-ea5f6f9d****​
The workspace ID. You can obtain the workspace ID by calling the GetWorkspaceAuthInfo API.​
​
Sample request​
​
POST https://vmp.cn-beijing.volcengineapi.com?Action=GetWorkspaceAuthInfo&Version=2021-03-03​
Content-Type: application/json​
{​
"Id": "0d80054b-f0f5-4289-ad4a-ea5f6f9d****"​
}
​
Response parameters​
​
Parameters​
Type​
Sample value​
Description​
AuthType​
String​
BasicAuth​
The workspace authentication type. Valid values:​
  • BasicAuth: basic authentication​
  • BearerToken: token authentication​
  • None: Custom authentication is not configured. In this case, Volcano Engine AK/SK authentication is used by default.​
Username​
String​
admin​
BasicAuth username of the workspace.​
BearerToken​
String​
Bearer 123456****​
The token used for workspace BearerToken authentication.​
​
Sample response​
​
HTTP/1.1: 200 OK​
Content-Type: application/json​
{​
"ResponseMetadata": {​
"RequestId": "20230604110420****100232280022D31",​
"Action": "GetWorkspaceAuthInfo",​
"Version": "2021-03-03",​
"Service": "vmp",​
"Region": "cn-beijing"​
},​
"Result": {​
"AuthType": "BasicAuth",​
"Username": "admin",​
"BearerToken": "Bearer 123456****" }​
}
​
Error code​
This API has no exclusive error codes. For public error codes, see Public error code.​
Last updated: 2026.07.10 11:12:06