API reference
Delete a stored response.
const url = 'https://api.helping.io/v1/responses/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://api.helping.io/v1/responses/example \ --header 'Authorization: Bearer <token>'The response stops being readable and can no longer be continued. The rest of its conversation is untouched. Deleting twice is not an error.
Only the key that created the response can delete it.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”The opaque resp_... id of the response to delete
Responses
Section titled “ Responses ”{id, object: "response.deleted", deleted: true}. The response stops being readable and can no longer be continued; the rest of its conversation is untouched. Deleting the same response twice is not an error.
Missing or invalid API key (the error envelope)
The key is not entitled to what the request asked for (the error envelope)
No such response, or one this key cannot reach.
This organization has exhausted its delete and cancel allowance; retry after the Retry-After header.
The request could not be completed; quote the x-request-id response header when reporting it.
The request could not be served this instant; retry after the Retry-After header.