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>"
}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>"
}The access token received from the authorization server in the OAuth 2.0 flow.