Stops multiple applications.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:BatchStopApplications |
none |
*All Resource
|
None | None |
Request syntax
PUT /pop/v1/sam/app/batchStopApplications HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NamespaceId |
string |
Yes |
The namespace ID. |
cn-shanghai |
| AppIds |
string |
No |
The IDs of the applications to be stopped. Note
To stop multiple applications at the same time, separate the application IDs with commas (,). |
ebf491f0-c1a5-45e2-b2c4-710dbe2a**** |
| Version |
string |
No |
The version of the application. |
1.0 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| RequestId |
string |
The request ID. |
7BD8F4C7-D84C-4D46-9885-8212997E**** |
| Message |
string |
The additional information. Valid values:
|
success |
| TraceId |
string |
The trace ID used to query call information accurately. |
0bc3b6e215637275918588187d**** |
| Data |
object |
The returned result. |
|
| ChangeOrderId |
string |
The change order ID. |
4a815998-b468-4bea-b7d8-59f52a44**** |
| ErrorCode |
string |
The error code. Valid values:
|
System.Upgrading |
| Code |
string |
The API status code or POP error code. Valid values:
|
200 |
| Success |
boolean |
Indicates whether the applications were stopped successfully. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "7BD8F4C7-D84C-4D46-9885-8212997E****",
"Message": "success",
"TraceId": "0bc3b6e215637275918588187d****",
"Data": {
"ChangeOrderId": "4a815998-b468-4bea-b7d8-59f52a44****"
},
"ErrorCode": "System.Upgrading",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | System.Upgrading | The system is being upgraded. Please try again later. | The system is being upgraded. Try again later. |
| 400 | InvalidParameter.Obviously | The specified parameter is invalid {%s}. | Invalid parameter {%s}. |
| 400 | Invalid.App.List.Not.Same.Namespace | The selected applications do not belong to the same namespace. | The selected applications does not belong to the same namespace. |
| 400 | Mamespace.Have.No.Applications | There are no applications in this namespace. | There are no applications in this namespace. |
| 400 | user.indebt | The user has an outstanding payment. | The current user has an overdue payment. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.