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
섹션 제목: “Authorizations”Parameters
섹션 제목: “Parameters”Path Parameters
섹션 제목: “Path Parameters”sha256
required
string
Responses
섹션 제목: “Responses”204
섹션 제목: “204”Released.
400
섹션 제목: “400”Invalid request.
401
섹션 제목: “401”Sign-in required.