Skip to content
Proud to collaborate with Microsoft for Startups

appdata.query.delete ​

Delete a saved query; its versions are kept and its name becomes free again

Soft-delete a saved query, freeing its name for its author again.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-appdata
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
actor_user_uuiduuidNo—Platform user this query belongs to; authorship and private visibility key off it
saved_query_uuiduuidYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
identity_app_uuiduuidYes——
saved_query_uuiduuidNo——
namestringNo——
deleted_atstringNo——
failure_reasonstringNo—Engine-stamped failure reason
failed_at_statestringNo—State when the workflow failed
failed_stepstringNo—Failed DAG step name
failed_layerintegerNo—Failed DAG layer index
errorstringNo—Engine-stamped exception message
error_typestringNo—Engine-stamped exception class name

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeDelete requested
completedNoYesYes—Delete done
failedNoYesNo—Delete failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

Outcomes ​

OutcomeTypeDescriptionState Data Keys
deletedSUCCESSDelete a saved query; its versions are kept and its name becomes free againsaved_query_uuid
failedFAILUREAppdata workflow failedfailure_reason

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "appdata.query.delete",
  "initial_data": {
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "saved_query_uuid": "value"
  }
}