documentTemplateComponentDelete

Delete a document template component. The documentTemplateComponentDelete mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.

Scope required: billing:write

mutation documentTemplateComponentDelete ($id: ID!) {
  documentTemplateComponentDelete (id: $id) {
      documentTemplateComponent {
        alignment
        background
        color
        content
        createdAt
        documentTemplateId
        editableInQuoteBuilder
        font
        fontSize
        fontWeight
        height
        id
        imageScale
        imageSignedId
        imageUrl
        lineSpacing
        marginBottom
        marginLeft
        marginRight
        marginTop
        name
        paddingBottom
        paddingLeft
        paddingRight
        paddingTop
        position
        skipPages
        twoColumns
        updatedAt
        width
      }
      errors
  }
}

ArgumentsLink to Arguments section

{
  "id": "456123"
}
Name Type Description
id ID  

ResponseLink to Response section

Name Type Description
documentTemplateComponent DocumentTemplateComponent  
errors String