Delete a list

Deletes a list and every card in it. Your inventory is not affected.

Requires the lists:write scope.

Path Parameters
  • listId
    Type: string
    min length:  
    1
    required

    The list's id. Path parameter.

Body
application/json
Empty object
Responses
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for delete/lists/{listId}
curl 'https://public-api.cardnexus.com/v1/lists/{listId}' \
  --request DELETE \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{}'
{
  "deleted": true
}