Release an uploaded reference image
DELETE
/api/reference-images/{sha256}
const url = 'https://coggs.ai/api/reference-images/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://coggs.ai/api/reference-images/example \ --header 'Authorization: Bearer <token>'Releases your own draft attachment and answers 204 whether or not it exists. A run that already took the image keeps its own copy.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”sha256
required
string
Responses
Section titled “Responses”Released.
Invalid request.
Sign-in required.