Update text-giving keywords

Replace the text-giving keywords of the designation given in the body. Keywords are matched by id, falling back to the keyword text: keywords omitted from the list are removed, and keywords without an id (or with id 0) are added. When the designation in the body differs from the one in the URL, the URL designation's keywords are cleared and the body designation's keywords are replaced instead. A keyword already in use by another designation is rejected.

Required permission: Contributions Settings

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the designation whose keywords are being edited

Body Params

The designation and its full keyword list

designation
object | null
required

The designation the keywords belong to. Provide the id.

keywords
array of objects | null

The designation's full keyword list. Keywords are matched by id, falling back to the keyword text: omitted keywords are removed, and keywords without an id are added.

keywords
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses
200

OK

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json