/v0/lists (DELETE)
DELETE
/v0/lists
const url = 'http://localhost:3000/v0/lists';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 http://localhost:3000/v0/lists \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Responses
Section titled “ Responses ”OK
List not found
Media type application/json
List not found
object
error
required
List not found
string
Example
{ "error": "LIST_NOT_FOUND"}Internal error
Media type application/json
Internal server error
object
error
required
Internal server error
string
Example
{ "error": "INTERNAL_ERROR"}