Update a valueset by id
PATCH/v1/valuesets/:id
Update a valueset by id
Request
Path Parameters
Valueset identifier
- application/json
Body
required
Update valueset input
Array [
]
Valueset unique name
descriptions
object[]
Valueset descriptions per language
Possible values: >= 2 characters
and <= 2 characters
Localized field language code
Localized field value
Responses
- 200
- 400
- 403
- 404
- 409
- 500
Valueset updated
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Valueset primary identifier
Possible values: <= 64 characters
Valueset name
Possible values: [SYSTEM
, CUSTOM
]
Valueset type
descriptions
object[]
required
Valueset descriptions
Possible values: >= 2 characters
and <= 2 characters
Language is set as 2 character country code.
Localized field value
The userId of the user that changed the valueset
Valueset last modified date
The userId of the user that created the valueset
Valueset creation date
{
"id": 12345,
"name": "My valueset name",
"type": "CUSTOM",
"descriptions": [
{
"lang": "EN",
"value": "my valueset description"
}
],
"lastModifiedBy": 0,
"lastModifiedAt": "2024-11-26T09:27:23.741Z",
"createdBy": 0,
"createdAt": "2024-11-26T09:27:23.741Z"
}
Bad request
Forbidden
Valueset not found
Valueset already exists
Unknown update valueset error