Skip to navigation

Update Entry

Beta
Update Entry.

Authentication

AuthorizationBearer

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

Path parameters

entry_idstringRequired
ID of the Entry.

Headers

EARLY-ACCESSstringOptional

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

Request

This endpoint expects an object.
allowCustomFieldDeletionbooleanOptional

Controls how customFields is applied on entry update. When true, customFields replaces all custom fields on the entry: custom fields omitted from customFields are deleted, clears all custom fields, and an empty string value ("") preserves the custom field with an empty value. When false or omitted, only the provided custom fields are upserted, and the request is rejected if it omits any existing custom fields. Defaults to false.

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.

authorIdslist of stringsOptional
Specifies user or app IDs to set as entry authors. Omit to leave authors unchanged. Provide IDs to replace the current author list. Pass an empty array to clear all authors.
customFieldsmap from strings to stringsOptional
Specifies custom fields to set on the entry as a map of custom field names to string values. Distinct from schemaFields, which sets values for fields defined by the entry schema. Omit to leave custom fields unchanged.
namestringOptional
Specifies the entry title. Omit to leave the title unchanged.
partsMutationobjectOptional
Specifies a mutation to perform on document content parts. Omit to leave document content unchanged. Rejected on protected entries.
reasonForChangeobjectOptional

Reason for change applied to the entire request. Only relevant to tenants with Data Modifications enabled, where it may be required to update or delete items and is validated against the tenant’s configured reasons. Tenants without Data Modifications enabled can omit it; if supplied, it is not validated.

schemaFieldsmap from strings to objectsOptional
Specifies values for fields defined by the entry schema. Keys must be field API identifiers. Values must be API identifiers or JSON values matching the field type. Exceptions are assay run and assay result link fields, which must be warehouse UUIDs. Permitted only when the entry has a schema associated with it, or schemaId is supplied in the same request. Omit to leave schema field values unchanged.
schemaIdstring or nullOptional
Specifies the ID of the entry schema to assign or reassign. Omit to leave the schema unchanged. Set to null to remove the schema. When reassigning, values for fields whose names also exist on the new schema are kept as schema field values, converted to the new field's type where possible and discarded otherwise, while values for all other fields become custom fields. When removing the schema, every populated value becomes a custom field. Custom fields remain on the entry but are not returned in its schema fields. The schema ID can be retrieved from the entry schema listing resource.
selectorslist of objectsOptional

Specifies dropdown selectors to create, update, or delete for unstructured tables. To create or update a selector, provide a non-empty name and at least one option. In the case of updates, provide the selector ID. To delete a selector, set delete to true and provide the selector ID.

studyAssociationslist of objectsOptional

Specifies study associations, including auto-linking behavior. This is used to associate the entry with studies. Omit to leave studies unchanged. Replaces all existing study associations.

Response

OK
__typenamestringOptional
applicableReviewProcessesstringOptionalformat: "uri"
Lists review processes configured for the entry's project. Use the paginated list of applicable review processes for the full list including stages and version details.
archiveReasonstring or nullOptional
Specifies the archive reason when the entry is archived.
archivedbooleanOptional
Specifies whether the entry is archived.
createdAtstring or nullOptionalformat: "datetime"
Specifies when the entry was created.
customFieldslist of objects or nullOptional
Lists custom field values on the entry.
displayIdstring or nullOptional
Specifies the display ID for the entry.
folderobject or nullOptional
Specifies the folder that contains the entry.
idstringOptional
Identifies the entry.
modifiedAtstring or nullOptionalformat: "datetime"
Specifies when the entry was last modified.
namestring or nullOptional
Specifies the title of the entry.
reviewobject or nullOptional
Specifies the active review for the entry when one exists. Null when the entry has not been sent for review or the review was retracted.
reviewSourceobjectOptional
Specifies the project that owns the entry and determines which review processes apply.
selectorslist of objectsOptional
Lists dropdown selectors available to table cells in the document.
typedSchemaobject or nullOptional
versionMetadataobjectOptional
Specifies version metadata for the current revision of the entry.
webUrlstringOptional
Specifies the absolute URL of the entry in the Benchling web app.
authorsstring or nullOptionalformat: "uri"
Lists the authors of the entry. Defaults to the creator but may be edited.
creatorobject or nullOptional
Identifies who created the entry.
partsstringOptionalformat: "uri"
Lists ordered document parts that make up the document content.
schemaFieldslist of objects or nullOptional
Lists values for fields defined by the entry schema.

Errors

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