Skip to navigation

Update Solvent

Beta

Update a solvate’s name or code, or archive/unarchive it via the archived field. The solvate structure is immutable and cannot be changed after creation. A new name must be unique (case-insensitive) across the Salt & Solvate library, and a solvate 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

solvent_idstringRequired
ID of the Solvent.

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 solvate. Must be unique (case-insensitive) across the Salt & Solvate library.

namestringOptional

The name of the solvate. 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 solvent.
canonicalSmilesstringOptional
The SMILES representation of the solvent after standardization.
codestring or nullOptional

Optional company-specific identifier for this solvent (e.g., “MH”, “DH”). Unique across both salts and solvents within a tenant.

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

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

molfilestringOptional
The molfile representation of the solvent.
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