Was this helpful?
/workflow
curl -L \ --request POST \ --url 'https://lamapi3.azurewebsites.net/workflow' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"name":"text","description":"text","workspaceId":1}'
{ "id": 1, "name": "text", "description": "text", "createdAt": "2025-02-23T05:08:51.636Z" }
curl -L \ --request PUT \ --url 'https://lamapi3.azurewebsites.net/workflow' \ --header 'Authorization: Bearer JWT' \ --header 'Content-Type: application/json' \ --data '{"workflowId":1}'
/workflow/{id}
curl -L \ --url 'https://lamapi3.azurewebsites.net/workflow/{id}' \ --header 'Authorization: Bearer JWT'
curl -L \ --request DELETE \ --url 'https://lamapi3.azurewebsites.net/workflow/{id}' \ --header 'Authorization: Bearer JWT'
No body