Deletes a virtual studio template.
Operation description
Before you delete a virtual studio template, you must detach all associated rules. Otherwise, an error is reported.
The lightweight virtual studio feature is in invitational preview. Each user can add a maximum of 300 templates.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteLiveAIStudio |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| StudioId |
string |
Yes |
The ID of the template. The ID is returned by the CreateLiveAIStudio operation. |
369ced1f-c33a-49e5-91da-bdaae3d6c1c2 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The ID of the request. |
40A4F36D-A7CC-473A-88E7-154F92242566 |
Examples
Success response
JSON format
{
"RequestId": "40A4F36D-A7CC-473A-88E7-154F92242566"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | LiveServiceNotFound | %s | |
| 400 | InvalidParameter.PurchaseTime | %s | |
| 400 | InvalidParameter | %s | |
| 400 | InvalidParameter.ExpireTime | %s | |
| 400 | MissingParameter | %s | |
| 400 | InvalidChargeType.Malformed | %s | |
| 400 | InvalidChargeType.PostSupport | %s | |
| 400 | InvalidCasterTemplate.Malformed | %s | |
| 400 | InvalidParameter.Malformed | %s | |
| 400 | InvalidParameter.ChargeType | %s | |
| 400 | InvalidPeriod.Malformed | %s | |
| 400 | InvalidUserId.Malformed | %s | |
| 400 | InvalidClientToken.Malformed | %s | |
| 400 | IncorrectStudioStatus.Inuse | %s | |
| 401 | CasterNumberExceed | %s | |
| 403 | PermissionDenied | %s | |
| 404 | InvalidParameter.NormType | %s | |
| 404 | InvalidConfiguration.NotFound | %s | |
| 408 | DeleteLiveAIStudio.Timeout | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.