Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceMutations

Files__remove

Authenticated · x-tenant · Remove an unused file from the library and storage. Requires a signed-in staff user. Needs the `files__File` `delete` permission. Send the `x-tenant` header (the gateway sets it from your API key).

MUTATIONfiles__remove(id: ID!): Boolean!

Authenticated · x-tenant · Remove an unused file from the library and storage. Requires a signed-in staff user. Needs the files__File delete permission. Send the x-tenant header (the gateway sets it from your API key).

Arguments

id*ID!

Returns

files__remove*Boolean!
Example Request
mutation Files__remove($id: ID!) {  files__remove(id: $id)}
Variables
{  "id": "1"}
Example Response
{  "data": {    "files__remove": true  }}