Delete a list

Delete a list. This will also delete the list's indexes and all items in the list.

Protected lists cannot be deleted if they contain any items. You will need to delete each item in the list first.

DELETE https://api.jsonpad.io/lists/{listId}

Example

cURL
1234curl https://api.jsonpad.io/lists/c177f7f3-c575-429e-824d-c37997736a1b \
  -X DELETE \
  -H "Content-Type: application/json" \
  -H "x-api-token: <YOUR TOKEN>"

Parameters

  • required
    listIdstringA list id or path name.

Request headers

  • required
    x-api-tokenstringYour API token.

Request body

No request body

Response body

204 No Content

No response body

Response headers

No response headers

2024-10-29