Whitelist Remove

/api/contentid/whitelistRemove

The whitelistRemove resource allows you to remove channels from your whitelist.

Example request object

{
"channel": [
"UC_B7kPmEgq9QbgkwNKjG1Cg",
"UC_B7kPmEgq9QbgkwNKjG1Cgy"
]
}
The channel request object array
Attributes Type Required Description
channel array yes an array containing the channel or channels to remove from the
string yes The YouTube channel ID or IDs to remove from the whitelist.

Example response object

{
"channel": [
{
"channel_id": "UC_B7kPmEgq9QbgkwNKjG1Cg",
"removed": 1
},
{
"channel_id": "UC_B7kPmEgq9QbgkwNKjG1Cgy",
"removed": 0,
"error": {
"error_code": 400,
"reason": "invalidChannelId",
"error": "The requested channel ID was invalid"
}
}
]
}
The channel response object array.
Attributes Type Included Description
channel_id string yes The requested YouTube channel ID.
removed int yes [01 fail, success ] Indicates if the channel was removed from the whitelist.
error array no The error object is included when the request to delete the specified channel could not be fulfilled.