All Products
Search
Document Center

ApsaraVideo Live:DeleteCasterComponent

更新時間:Jun 05, 2024

Deletes a component from a production studio.

Usage notes

You can call the CreateCaster operation to create a production studio and call the DeleteCasterComponent operation to delete a component from the production studio.

QPS limits

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 DeleteCasterComponent

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

CasterId String Yes a2b8e671-2fe5-4642-a2ec-bf93880e****

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 ID/Name column.
ComponentId String Yes 21926b36-7dd2-4fde-ae25-51b5bc8e****

The component ID. If the component was added by calling the AddCasterComponent operation, check the value of the response parameter ComponentId to obtain the component ID.

Response parameters

Parameter

Type

Example

Description

CasterId String a2b8e671-2fe5-4642-a2ec-bf93880****

The ID of the production studio. The production studio ID is required to query components of the production studio, add an episode list to the production studio, and modify components of the production studio.

ComponentId String 21926b36-7dd2-4fde-ae25-51b5bc8e****

The component ID. The component ID is required to query the component and modify the component.

RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The request ID.

Examples

Sample requests

https://live.aliyuncs.com/?Action=DeleteCasterComponent
&CasterId=a2b8e671-2fe5-4642-a2ec-bf93880e****
&ComponentId=21926b36-7dd2-4fde-ae25-51b5bc8e****
&<Common request parameters>

Sample success responses

XML format

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

<DeleteCasterComponentResponse>
    <CasterId>a2b8e671-2fe5-4642-a2ec-bf93880****</CasterId>
    <ComponentId>21926b36-7dd2-4fde-ae25-51b5bc8e****</ComponentId>
    <RequestId>16A96B9A-F203-4EC5-8E43-CB92E68F4CD8</RequestId>
</DeleteCasterComponentResponse>

JSON format

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

{
  "CasterId" : "a2b8e671-2fe5-4642-a2ec-bf93880****",
  "ComponentId" : "21926b36-7dd2-4fde-ae25-51b5bc8e****",
  "RequestId" : "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8"
}

Error codes

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