Calseta is under active development. APIs and features may change. We welcome feedback and contributions on GitHub.
cURL
curl --request PATCH \ --url https://api.example.com/v1/workflows/{workflow_uuid} \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "workflow_type": "<string>", "indicator_types": [ "<string>" ], "code": "<string>", "state": "<string>", "timeout_seconds": 123, "retry_count": 123, "is_active": true, "tags": [ "<string>" ], "time_saved_minutes": 123, "approval_mode": "<string>", "approval_channel": "<string>", "approval_timeout_seconds": 123, "risk_level": "<string>", "documentation": "<string>" } '
{ "data": { "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "workflow_type": "<string>", "indicator_types": [ "<string>" ], "state": "<string>", "code_version": 123, "is_active": true, "is_system": true, "tags": [ "<string>" ], "time_saved_minutes": 123, "approval_mode": "<string>", "risk_level": "<string>", "documentation": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "code": "<string>", "timeout_seconds": 123, "retry_count": 123, "approval_channel": "<string>", "approval_timeout_seconds": 123 }, "meta": {} }
Request body for PATCH /v1/workflows/{uuid}.
Successful Response
Full response — includes code and approval config.
Show child attributes