Request

DELETE https://v2.api.uberflip.com/streams/{streamId}/items/{itemId}
curl -X DELETE -H "Authorization: Bearer [Token]" \
-i https://v2.api.uberflip.com/streams/17359/items/56516
import requests

headers = {
    'Authorization': 'Bearer [Token]',
}

response = requests.delete('https://v2.api.uberflip.com/streams/17359/items/56516', headers=headers)
// Generated by curl-to-PHP: http://incarnate.github.io/curl-to-php/
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, 'https://v2.api.uberflip.com/streams/17359/items/56516');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');


$headers = array();
$headers[] = 'Authorization: Bearer [Token]';
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}
curl_close($ch);
var request = require('request');

var headers = {
    'Authorization': 'Bearer [Token]'
};

var options = {
    url: 'https://v2.api.uberflip.com/streams/17359/items/56516',
    method: 'DELETE',
    headers: headers
};

function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
        console.log(body);
    }
}

request(options, callback);

Request Parameters

Path Parameters

Description

streamId

The unique identifier of the stream

itemID

The unique identifier of the item

Body Parameters

Type

Description

ordinal

Integer

The new ordinal of the item in the stream

featured

Boolean

Whether the item is featured