Library

Update a global

patch/library/globals/{globalId}

Request

  • Base URL: https://next-api.saturation.io/v1
  • URL: https://next-api.saturation.io/v1/library/globals/{globalId}
  • Auth: HTTP bearer

Path parameters

globalIdstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

Example:txn_8f2a1c9e

Request body

symbolstring nullable
descriptionstring nullable
formulastring nullable
unitstring nullable
customUnitIdstring

A stable resource ID, such as prj_…, txn_…, or doc_….

Example request

{
  "customUnitId": "txn_8f2a1c9e"
}

Response

The updated global.

idstring required

A stable resource ID, such as prj_…, txn_…, or doc_….

symbolstring nullable required
descriptionstring nullable required
formulastring nullable required
unitstring nullable
customUnitIdstring

A stable resource ID, such as prj_…, txn_…, or doc_….

phaseOverridesobject nullable

Example response

{
  "id": "txn_8f2a1c9e",
  "customUnitId": "txn_8f2a1c9e"
}

Changes

No operation changes recorded.