Archive workflow
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Archives a workflow so it stops running.
Archiving cancels its schedule and stops it responding to its trigger. The workflow and its run history are kept, and Restore workflow brings it back.
Archiving frees the workflow's name, so another workflow can take it while this one is archived.
This is only allowed from the app's main branch.
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/workflows/{workflow_id}
- AuthHTTP bearer
Path parameters
ID of the app whose workflows you want to work with.
ID of the workflow, as returned in id by List workflows.
Response
The workflow is archived.
Example response
{
"status": "archived",
"workflow_id": "68b1c0d4e7b91d003c45a1f2"
}Changes
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info