Skip to main content

Delete a ticket

Delete an existing ticket.

Paramaters​

id - ticket id in url​

Place the ticket id in the url: ticket/delete/tic_....

Code Example​

DELETE - https://api.particlespace.com/api/v1/ticket/delete/:id
var axios = require('axios');
const BEARER_TOKEN = 'SET_ME';
var config = {
method: 'delete',
url: 'https://api.particlespace.com/api/v1/ticket/delete/TICKET_ID_HERE',
headers: {
'Authorization': 'Bearer ' + BEARER_TOKEN
}
};

axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});