deleteAsset
Delete a single asset
GraphQL Schema
extend type mutation {
"""Delete a single asset"""
deleteAsset(input: DeleteAssetInput): DeleteAssetPayload
}
Arguments
| Name | Type | Description |
|---|---|---|
| input | [DeleteAssetInput](/04-reference/05-Input Objects/DeleteAssetInput.mdx) |
Response Shape
This mutation returns DeleteAssetPayload
| Name | Type | Description |
|---|---|---|
| success | Boolean! | Whether the mutation was successful |
| error | ErrorType | Error information |