All Products
Search
Document Center

ApsaraVideo Live:DeleteStudioLayout

最終更新日:May 08, 2024

Removes a layout from a virtual studio.

Usage notes

You can call this operation to remove a layout from a virtual studio. You can remove only one layout in a call.

QPS limit

You can call this operation up to 10 times per second per account. Requests that exceed this limit are dropped and you will experience service interruptions. We recommend that you take note of this limit when you call this operation. For more information, see QPS limits.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter

Type

Required

Example

Description

Action String Yes DeleteStudioLayout

The operation that you want to perform. Set the value to DeleteStudioLayout.

CasterId String Yes 5c6a2a0d-f228-4a64-af62-20e91b96****

The ID of the production studio.

  • If the production studio was created by calling the CreateCaster operation, check the value of the response parameter CasterId to obtain the ID.
  • If the production studio was created by using the ApsaraVideo Live console, obtain the ID on the Production Studio Management page. To go to the page, log on to the ApsaraVideo Live console and click Production Studios in the left-side navigation pane.
Note You can find the ID of the production studio in the Instance Name column.
LayoutId String Yes 445409ec-7eaa-461d-8f29-4bec2eb9****

The ID of the layout. If you call the AddStudioLayout operation to configure a layout for a virtual studio, you can obtain the ID of the layout from the LayoutId parameter in the response.

Response parameters

Parameter

Type

Example

Description

RequestId String 5c6a2a0d-f228-4a64-af62-20e91b9676b3

The request ID.

Examples

Sample requests

http(s)://live.aliyuncs.com/?Action=DeleteStudioLayout
&CasterId=5c6a2a0d-f228-4a64-af62-20e91b96****
&LayoutId=445409ec-7eaa-461d-8f29-4bec2eb9****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<?xml version="1.0" encoding="UTF-8" ?>
<DeleteStudioLayoutResponse>
    <RequestId>5c6a2a0d-f228-4a64-af62-20e91b9676b3</RequestId>
</DeleteStudioLayoutResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "DeleteStudioLayoutResponse" : {
    "RequestId" : "5c6a2a0d-f228-4a64-af62-20e91b9676b3"
  }
}

Error codes

For a list of error codes, see Service error codes.