Skip to main content

Update a lookup list.

PATCH/api/v1/lookup-lists/{lookup_list_id}lookup_lists:write

Needs Edit Lookup Lists. Only what is sent changes.

Scopelookup_lists:write
AsynchronousNo
MCP toolupdate_lookup_list
Portal permissionsedit_lookup_lists

Parameters​

NameInTypeRequiredDescription
lookup_list_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonLookupListPatchInput
application/merge-patch+jsonLookupListPatchInput

Responses​

StatusDescriptionBody
200Success.application/json LookupList or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409already_existsapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

LookupList​

FieldTypeRequiredDescription
configstring or nullRequiredThe list's configuration, as the builder stores it (JSON text).
created_atstring (date-time) or nullRequired
created_byUserRef or nullRequired
custom_field_idstring or nullRequiredThe custom field the list was made for, when one was.
lookup_list_idstringRequired
namestringRequired
virtual_view_idstring or nullRequiredThe virtual view the values come from.

LookupListPatchInput​

FieldTypeRequiredDescription
configstring or nullOptional
created_atstring (date-time) or nullOptional
created_byUserRefInput or nullOptional
custom_field_idstring or nullOptional
lookup_list_idstring or nullOptional
namestring or nullOptional
virtual_view_idstring or nullOptional

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired

UserRefInput​

FieldTypeRequiredDescription
display_namestringOptional
kindstring: user, system, integrationOptional
user_idstring or nullOptional