Mutations
deleteAsset
Deletes an asset.
MUTATION
deleteAsset(input: DeleteFileAttachmentInput!): DeleteAssetArguments
input
required
Returns
entityId
Int
fileAttachmentId
Int
Mutation
mutation DeleteAsset($input: DeleteFileAttachmentInput!) {
deleteAsset(input: $input) {
entityId
fileAttachmentId
}
}Variables
{
"input": {
"entityId": "id",
"fileAttachmentId": "id"
}
}Response
{
"data": {
"deleteAsset": {
"entityId": 1,
"fileAttachmentId": 1
}
}
}Was this page helpful?
⌘I
Mutation
mutation DeleteAsset($input: DeleteFileAttachmentInput!) {
deleteAsset(input: $input) {
entityId
fileAttachmentId
}
}Variables
{
"input": {
"entityId": "id",
"fileAttachmentId": "id"
}
}Response
{
"data": {
"deleteAsset": {
"entityId": 1,
"fileAttachmentId": 1
}
}
}