DELETE
/
wordlist
/
{id}
/
words
curl --request DELETE \
  --url https://moderationapi.com/api/v1/wordlist/{id}/words \
  --header 'Authorization: Bearer <token>'
{
  "removedCount": 123,
  "totalCount": 123,
  "removedWords": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the wordlist to remove words from

Query Parameters

words
string[]
required

Array of words to remove from the wordlist

Response

200
application/json
Words successfully removed from wordlist
removedCount
number
required

Number of words removed

totalCount
number
required

Total number of words in wordlist

removedWords
string[]
required

List of words removed

Was this page helpful?