Files__sync Attachments
Authenticated · x-tenant · Replace usage log rows for one record. Requires a signed-in staff user. Needs the `files__File` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).
files__syncAttachments(body: SyncFileAttachmentsInput!): Boolean!Authenticated · x-tenant · Replace usage log rows for one record. Requires a signed-in staff user. Needs the files__File update permission. Send the x-tenant header (the gateway sets it from your API key).
Arguments
body*Returns
files__syncAttachments*Boolean!mutation Files__syncAttachments($body: SyncFileAttachmentsInput!) { files__syncAttachments(body: $body)}{ "body": { "collection": "string", "documentId": "1", "fields": [ { "field": "string" } ] }}{ "data": { "files__syncAttachments": true }}Files__remove Many MUTATION
Authenticated · x-tenant · Remove unused files from the library and storage. Files still attached to a record are skipped. 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).
Files__update MUTATION
Authenticated · x-tenant · Update file library metadata (alt text). Requires a signed-in staff user. Needs the `files__File` `update` permission. Send the `x-tenant` header (the gateway sets it from your API key).