Remove a card from a list

Removes a single card from a list, addressed by its line id. The list itself is kept.

To remove several cards at once, or to clear a card by setting its quantity to 0, use POST /v1/lists/{listId}/items.

Requires the lists:write scope.

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

    The list's id. Path parameter.

  • itemId
    Type: string
    min length:  
    1
    required

    The id of the line to remove, from a list response. 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}/items/{itemId}
curl 'https://public-api.cardnexus.com/v1/lists/{listId}/items/{itemId}' \
  --request DELETE \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{}'
{
  "deleted": true
}