DeleteCasterLayout
Deletes layout data.
Operation description
First, create a production studio by calling the CreateCaster operation, and then call this operation to delete the layout data of the production studio.
QPS limit
The QPS limit per user for this operation is 10 calls per second. If the number of calls per second exceeds the limit, throttling is triggered, which may affect your business. Call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DeleteCasterLayout |
delete |
*Caster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| CasterId |
string |
Yes |
The ID of the production studio.
Note
The name of the production studio in the production studio list on the Cloud Production Studio page in the ApsaraVideo Live console is the ID of the production studio. |
a2b8e671-2fe5-4642-a2ec-bf93880e**** |
| LayoutId |
string |
Yes |
The ID of the layout. If you added the layout by calling the AddCasterLayout operation, check the value of the LayoutId parameter returned in the response. |
21926b36-7dd2-4fde-ae25-51b5bc8e**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| CasterId |
string |
The ID of the production studio. You can use this ID as a request parameter to modify a production studio layout, query the list of production studio layouts, add a production studio component, or query the list of production studio components. |
a2b8e671-2fe5-4642-a2ec-bf93880e**** |
| LayoutId |
string |
The ID of the layout. You can use this ID as a request parameter to query the list of production studio layouts. |
21926b36-7dd2-4fde-ae25-51b5bc8e**** |
| RequestId |
string |
The ID of the request. |
16A96B9A-F203-4EC5-8E43-CB92E68F**** |
Examples
Success response
JSON format
{
"CasterId": "a2b8e671-2fe5-4642-a2ec-bf93880e****",
"LayoutId": "21926b36-7dd2-4fde-ae25-51b5bc8e****",
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCasterId.Malformed | %s, please check and try again later. | The parameter CasterId is invalid, please check and try again. |
| 400 | InvalidUserId.Malformed | %s, please check userId. | The userId passed in is invalid, please check. |
| 400 | InvalidLayoutId.Malformed | %s, please check and try again later. | The LayoutId is invalid, please check and try again. |
| 401 | IllegalOperation | %s, please check and try again later. | Operation not allowed, please check and try again. |
| 500 | InternalError | %s, please try again later. | Internal error, please try again later. |
| 404 | InvalidCaster.NotFound | %s, please check and try again later. | The guide station does not exist, please check and try again. |
| 404 | InvalidLayout.NotFound | %s, please check and try again later. | LayoutId does not exist, please check and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.