Mutation
mutation ArchiveWorkflowRuns($ids: [ID!]!, $archived: Boolean!) {
archiveWorkflowRuns(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveWorkflowRuns": 1
}
}Mutations
archiveWorkflowRuns
Archives workflow runs and returns the number of affected records.
MUTATION
archiveWorkflowRuns(ids: [ID!]!, archived: Boolean!): Int!Arguments
ids
[ID!]!
required
Identifiers of the resources to return or affect.
archived
Boolean!
required
Whether the affected resource should be archived.
Returns
Int!
Mutation
mutation ArchiveWorkflowRuns($ids: [ID!]!, $archived: Boolean!) {
archiveWorkflowRuns(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveWorkflowRuns": 1
}
}