Enables services in a batch.
Operation description
Description
This operation enables multiple Alibaba Cloud services in a batch.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ros:EnableServices |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceNames |
array |
No |
A list of services to enable. |
|
|
string |
No |
The service to enable. |
[\"OSS\"] |
|
| RegionId |
string |
Yes |
The region where the service is enabled. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
E1BD3327-6BEE-53AD-8788-D892EB575962 |
| FailedServices |
array<object> |
A list of services that failed to be enabled. |
|
|
object |
|||
| ServiceName |
string |
The name of the Alibaba Cloud service. |
ACVS |
| Code |
string |
The error code. |
400 |
| Message |
string |
The error message. |
Failed |
Examples
Success response
JSON format
{
"RequestId": "E1BD3327-6BEE-53AD-8788-D892EB575962",
"FailedServices": [
{
"ServiceName": "ACVS",
"Code": "400",
"Message": "Failed"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.