TypeScript
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.useautumn.com/v1/features/{feature_id}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true }
archived
true
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>