postLivetvManageChannelsByIdDisabled
Sets a channel disabled or not
Requires authentication as administrator
postLivetvManageChannelsByIdDisabled
Request
post /LiveTv/Manage/Channels/{Id}/Disabled
Parameters
| Name | In | Type | Default | Notes |
|---|---|---|---|---|
| *Id | path | |||
| *body | body | SetChannelDisabled | SetChannelDisabled |
Responses
| Status Code | Type | Description | Samples |
|---|---|---|---|
| 200 | QueryResult_ChannelManagementInfo | Operation successful. Returning a QueryResult
|
|
| 400 | Bad Request. Server cannot process request. |
||
| 401 | Unauthorized. Client needs to authenticate. |
||
| 403 | Forbidden. No permission for the reqested operation. |
||
| 404 | Resource not found or unavailable. |
||
| 500 | Server error. |
Definitions
SetChannelDisabled
Emby.LiveTV.Api.SetChannelDisabled
| Name | Type | Notes |
|---|---|---|
| Id | string | |
| ManagementId | string | |
| Disabled | boolean |
QueryResult_ChannelManagementInfo
QueryResult_ChannelManagementInfo
| Name | Type | Notes |
|---|---|---|
| Items | ChannelManagementInfo[] | |
| TotalRecordCount | integer (int32) |
ChannelManagementInfo
Emby.LiveTV.ChannelManagementInfo
| Name | Type | Notes |
|---|---|---|
| Id | string | |
| Name | string |