valuesetUpdate
Update an existing value set's configuration and metadata.
Modifies value set details including name and localized descriptions. Only provided fields will be updated, others remain unchanged. The type field cannot be modified after creation for data integrity reasons.
Restrictions: • SYSTEM type value sets cannot be modified • Name changes must maintain uniqueness across all value sets • Type field is immutable after creation • Name must not exceed 64 characters if provided
Use this mutation to: • Update value set names for better organization • Add or modify localized descriptions • Maintain value set metadata without affecting items
Possible errors:
- VALUESET_NOT_FOUND_ERROR: Value set with the specified ID does not exist
- VALUESET_UPDATE_ERROR: Failed to update the value set due to system error
- VALUESET_ALREADY_EXISTS_ERROR: Updated name conflicts with existing value set
- VALUESET_NOT_ALLOWED_TO_MODIFY_ERROR: Attempt to modify SYSTEM type value set
AUTH: Role=[configuration.OWNER,configuration.EDITOR]
valuesetUpdate(
id: Int!
input: ValuesetUpdateInput!
): Valueset!
Arguments
valuesetUpdate.id
● Int!
non-null scalar
Unique identifier of the value set to update.
Must be a positive integer representing a valid, existing value set ID in the system. The value set must be of CUSTOM type to allow modifications.
valuesetUpdate.input
● ValuesetUpdateInput!
non-null input
Updated value set information with partial field updates.
Contains the value set properties to update. All fields are optional - only provided fields will be changed, others remain unchanged.
Validation constraints: • Name: 1-64 characters if provided, must be unique • Descriptions: Valid language codes with meaningful descriptions