DELETE
/
lists
/
{listId}
curl --request DELETE \
  --url https://api.village.do/v1/lists/{listId} \
  --header 'secret-key: <api-key>' \
  --header 'user-identifier: <user-identifier>'
{
  "success": true,
  "message": "List deleted successfully"
}

Authorizations

secret-key
string
header
required

Headers

user-identifier
string
required

Specify the user making the request. This identifier should match the one you used when integrating the user with Village.

Path Parameters

listId
integer
required

Response

200
application/json

List deleted successfully

The response is of type object.