Skip to content

Delete a render

Delete a specific render by its ID.

Sample Request

Here’s a sample request to delete a render:

ENDPOINT
DELETE /v1/render/{id}
fetch(`https://api.templated.io/v1/render/${RENDER_ID}`, {
method: 'DELETE',
headers: {
'Authorization': `Bearer ${API_KEY}`
}
})
.then(response => {
if (response.status === 204) {
console.log('Render deleted successfully');
}
})
.catch(error => console.error('Error:', error));

Response

A successful deletion will return a 204 No Content response with no body.

Error Responses

Status CodeDescription
401Not authorized - Invalid or missing API key
403Forbidden - You don’t have permission to delete this render
404Not Found - Render or user not found
500Internal Server Error - An unexpected error occurred