Skip to main content
POST
/
admin
/
word
/
rule
/
save
Save or update word usage rule details
curl --request POST \
  --url https://api.example.com/admin/word/rule/save \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ruleID": 123,
  "wordIDs": [
    123
  ],
  "languageIDs": [
    1,
    2,
    3,
    4,
    5
  ],
  "positionUsageTypeIDs": [
    1,
    2,
    3,
    4,
    5
  ],
  "actionTypeID": 123,
  "wordCandidateListID": null,
  "flagTypeID": null,
  "appliesToAllLanguages": false
}
'
{
  "success": true,
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
ruleID
integer<int32> | null
wordIDs
integer<int32>[] | null
languageIDs
integer<int32>[] | null
positionUsageTypeIDs
integer<int32>[] | null
actionTypeID
integer<int32>
wordCandidateListID
integer<int32> | null
flagTypeID
integer<int32> | null
appliesToAllLanguages
boolean | null
default:false

Response

Success

success
boolean
data
unknown