# documentTemplateComponentDelete

Delete a document template component

**Scope required:** billing:write

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

## Arguments

```json
{
  "id": "456123"
}
```

| Name | Type | Description |
| ---- | ---- | ----------- |
| id   | ID   |             |

## Response

| Name                      | Type                                                                                                        | Description |
| ------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------- |
| documentTemplateComponent | [DocumentTemplateComponent](https://docs.bunny.com/developer/api-reference/types/documenttemplatecomponent) |             |
| errors                    | String                                                                                                      |             |
