Deletes a component from a production studio.

Usage note

The component must have been created before it can be deleted.

QPS limit

A single user can perform a maximum of 10 queries per second (QPS). Throttling is triggered when the number of calls per second exceeds the QPS limit. The throttling may affect your business. Thus, we recommend that you observe the QPS limit on this operation. For more information about what a single user means and the QPS details, see QPS limit on an API operation in ApsaraVideo Live.

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 you create a production studio through the CreateCaster interface, check the value of the CasterId parameter in the response.

If you create a production studio through the ApsaraVideo Live Console, log in to the console, then check the ID of the production studio through the following path:

Production Studios > Production Studio Management

Note The CasterId is reflected in the Name column on the Production Studio Management page.
ComponentId String Yes 21926b36-7dd2-4fde-ae25-51b5bc8e****

The ID of the component.

RegionId String No cn-shanghai

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.

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

The ID of the production studio.

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

The ID of the component.

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

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

JSON format

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

Error codes

For a list of error codes, visit the API Error Center.