Skip to main content

Delete workflows

POST 

/workflow/delete

Deletes the workflow records identified by the given list of workflowIds.

Request

Query Parameters

    workspaceId int64

    Workspace numeric identifier

    force boolean

    Force the deletion even if any workflows are active

Bodyrequired

Delete workflows request

    workflowIdsstring[]

Responses

OK - Return the IDs of workflows that could not be deleted, if any

Schema
    failedWorkflowIdsstring[]

Authorization: http

name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://docs.seqera.io/workflow/delete");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Auth
Parameters
— query
— query
Body required
{
  "workflowIds": [
    "string"
  ]
}