Update URL File Uploads
The follwing mutation updates an url file upload:
- Query
- cURL
mutation UploadURLFileUpload($uploadBaseDomain: String) {
updateUrlFileUpload(input: {
uploadBaseDomain: $uploadBaseDomain
}) {
urlFileUpload {
uploadBaseDomain
}
}
}
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 UploadURLFileUpload($uploadBaseDomain: String) { updateUrlFileUpload(input: { uploadBaseDomain: $uploadBaseDomain }) { urlFileUpload { uploadBaseDomain } } }"}' https://api.lumar.io/graphql