Skip to content

updateDocumentType

Update a document type with the specified details.

Arguments

Argument Type Description
input (required) UpdateDocumentTypeInput! The ID and details of the document type to update.

Returns

UpdateDocumentTypeReply!

Sample

mutation UpdateDocumentType($input: UpdateDocumentTypeInput!) {
  updateDocumentType(input: $input)
}
{
  "input": {}
}
{
  "data": {
    "updateDocumentType": {
      "details": {
        "id": "00000000-0000-0000-0000-000000000000",
        "isActive": true,
        "name": "example-string",
        "risk": "HIGH_RISK",
        "totalHits": 0
      }
    }
  }
}