Mutation
mutation ArchiveRunDrafts($ids: [ID!]!, $archived: Boolean!) {
archiveRunDrafts(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveRunDrafts": 1
}
}Mutations
archiveRunDrafts
Archives run drafts and returns the number of affected records.
MUTATION
archiveRunDrafts(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 ArchiveRunDrafts($ids: [ID!]!, $archived: Boolean!) {
archiveRunDrafts(ids: $ids, archived: $archived)
}Variables
{
"ids": [
"id"
],
"archived": true
}Response
{
"data": {
"archiveRunDrafts": 1
}
}