Skip to navigation

Update LibraryParameterDefinition

Beta

Update a library parameter definition.

Updatable fields

FieldDescription
nameDisplay name (1-44 characters, at least one alphanumeric character)
descriptionParameter description (max 2048 characters)

Archiving

To archive, set all three fields together:

  • archived: true
  • archiveReason: a non-empty string explaining why
  • archiveUserId: the ID of the user performing the archive (format: ent_XXXXXXXX)

To unarchive, set archived to false.

Immutable fields

The following fields are set at creation and cannot be changed via update:

  • dataType
  • unitTypeId

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

library_parameter_definition_idstringRequired
ID of the LibraryParameterDefinition.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
archiveReasonstringOptional

Why it is being archived. Required when archived is true, and not allowed when unarchiving.

archivedbooleanOptional

Set to true to archive or false to unarchive it. Archiving requires archiveReason.

descriptionstringOptional
Updated description. Maximum 2048 characters.
namestringOptional
Updated display name. Must contain at least one alphanumeric character. Maximum 44 characters.

Response

OK
__typenamestringOptional
archiveReasonstring or nullOptional
archivedbooleanOptional
createdAtstringOptionalformat: "datetime"
creatorobjectOptional
dataTypeenumOptional
descriptionstringOptional
idstringOptional
modifiedAtstringOptionalformat: "datetime"
namestringOptional
unitTypeobject or nullOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error