Modifies the Q-Assistant status for multiple dashboards.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DashboardIds |
string |
Yes |
An array of dashboard IDs. Separate multiple IDs with commas. Important The number of IDs cannot exceed 50. |
asda,sadaf |
| Status |
integer |
Yes |
The status identifier. 0 indicates disabled and 1 indicates enabled. |
0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
46e537a5**** |
| Result |
array |
A list of dashboard IDs for which the operation failed. |
|
|
string |
The dashboard ID. |
ccd3428c-****-****-a608-26bae29dffee |
|
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "46e537a5****",
"Result": [
"ccd3428c-****-****-a608-26bae29dffee"
],
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 297 | Invalid.Parameter | You must specify the parameter. | Invalid parameter |
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | Invalid.Parameter.Error | The parameter is invalid:%s. | invalid parameter: ${0}. |
| 400 | RobotNl2sql.Moudle.NotPurchase | Please purchase Nl2sql module first. | Please purchase Nl2sql module first. |
| 400 | ApiUser.Not.Exists | The specified user does not exist. | The specified user does not exist. |
| 400 | Parameter.Error | The input parameter is invalid. | input parameter error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.