ScalePad icon

ScalePad

Interact with ScalePad Core API and Lifecycle Manager

Note → Toggle Archive Status

AI-generated

Summary

Toggle a note's archive status by setting its archived state based on the provided boolean value.

Inputs

  • Note ID (required) — The ID of the note to update.
  • Is Archived (required) — Boolean indicating whether the note should be archived (true) or unarchived (false).

Output shape

a single updated note record

The operation returns the updated note data reflecting the changed archive status. If the note ID is invalid or the update fails, an error is returned.

Examples

Example 1: Archive a note with ID 123

Set Note ID to '123' and Is Archived to true.

Example 2: Unarchive a note with ID 123

Set Note ID to '123' and Is Archived to false.

Links

Discussion