Skip to navigation

Update Salt

Beta

Update a salt’s name or code, or archive/unarchive it via the archived field. The salt structure is immutable and cannot be changed after creation. A new name must be unique (case-insensitive) across the Salt & Solvate library, and a salt cannot be unarchived while an active entry has the same name or structure.

Authentication

AuthorizationBearer

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

Path parameters

salt_idstringRequired
ID of the Salt.

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.

codestring or nullOptional

Configurable identifier for this salt. Must be unique (case-insensitive) across the Salt & Solvate library.

namestringOptional

The name of the salt. Must be unique (case-insensitive) across the Salt & Solvate library.

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.

Response

OK
__typenamestringOptional
archiveReasonstring or nullOptional
archivedbooleanOptional
calculatedMolecularWeightdouble or nullOptional
The molecular weight of the salt.
canonicalSmilesstringOptional
The SMILES representation of the salt after standardization.
codestring or nullOptional

Optional configurable identifier for this salt (e.g., “HCl”, “MS”). Unique across both salts and solvents within a tenant.

createdAtstringOptionalformat: "datetime"
idstringOptional
modifiedAtstringOptionalformat: "datetime"
molecularFormulastringOptional

The molecular formula (e.g., “HCl”).

molfilestringOptional
The molfile representation of the salt.
namestringOptional

Errors

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