Deletes a virtual studio template.
Operation description
To delete a virtual studio template, you must first unbind the rules. Otherwise, an error occurs.
Note
The lightweight virtual studio feature is in invitational preview. You can add up to 300 virtual studio templates.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StudioId | string | Yes | The ID of the template. You can obtain the ID from the response to the CreateLiveAIStudio operation. | 369ced1f-c33a-49e5-91da-bdaae3d6c1c2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "40A4F36D-A7CC-473A-88E7-154F92242566"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
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 |
For a list of error codes, visit the Service error codes.