Edit dictionary metadata (edit)

Rename a dictionary or enable/disable it.

Updates a dictionary description or its enabled state.

What it does

  • Renames a dictionary (description).

  • Enables or disables a dictionary (state).

Required parameters

Parameter
Type
Notes

cmd

string

custom_dictionary

action

string

edit

id

integer

Exactly one dictionary ID

Optional parameters

You must pass at least one of these.

Parameter
Type
Notes

description

string

Must be unique per account

state

boolean

true enables, false disables

format

string

json (default) or xml

callback

string

JSONP wrapper (JSON only)

circle-info

If you disable a dictionary (state=false), spellcheck excludes it silently.

The dictionary is still accessible via the API.

Request example (rename)

Request example (disable)

Response example

Possible errors

  • Missing id.

  • Multiple IDs passed (only one is allowed).

  • Neither description nor state passed.

  • Description conflicts with an existing dictionary.

See Errors reference.

Notes and edge cases

  • Disabling is a safe alternative to delete.

  • Description uniqueness is enforced per account.

Last updated

Was this helpful?