Delete URL File Uploads
The follwing mutation deletes an url file upload:
- Query
- cURL
mutation DeleteURLFileUpload($urlFileUploadId: ObjectID!) {
deleteUrlFileUpload(input: {
urlFileUploadId: $urlFileUploadId
}) {
urlFileUpload {
id
}
}
}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"mutation DeleteURLFileUpload($urlFileUploadId: ObjectID!) { deleteUrlFileUpload(input: { urlFileUploadId: $urlFileUploadId }) { urlFileUpload { id } } }"}' https://api.lumar.io/graphql