Skip to main content
MUTATION
archiveInspectionTemplate(archived: Boolean!, templateId: String!): InspectionTemplate!

Arguments

archived
Boolean!
required

True to archive the template, false to restore it.

templateId
String!
required

Id of the inspection template to archive or restore.

archivedAt
DateTime

When the template was archived.

id
String!

Id of the template.

name
String!

Name of the template.

organizationId
String!

Id of the organization that owns the template.

template
JSON!

The checklist itself: its title, displayType ('sequential' or 'grid'), singleLocation flag and prompts, each with its questions.

Mutation
Variables
Response