Change status

Use this endpoint to change status for a specific playlist on your site.


This method is type of POST and will not receive any GET parameters.
PARTNER_ID is an integer ID of your web property/site in Brid CMS.


Name Type Description
data[partner_id] *required integer Partner id
data[id] *required integer Playlist id
data[status] *required integer Status 0/1
data[controller] *required string playlist
try {
    $api = new BridApi(array('auth_token'=>'b1437c94847d7e19268ad3bda0e46f8f6bc36f45'));
    $post = array('data[partner_id]'=>'123456', 'data[id]'=>'789', 'data[status]'=>1, 'data[controller]'=>'playlist');
    $return = $api->post(['playlists', 'changeStatus', 13085], $post);
catch(Exception $e) {
    echo $e->getMessage();

BridApi.php is a small library we provide in our git repository which allows you to quick-start your implementation so we advise you to use it. These examples are made with this library in mind. Make sure to substitute and use your own authorization token and PARTNER_ID when trying out these examples.