cURL
curl --request POST \ --url https://api.velt.dev/v1/organizations/documents/locations/data/delete \ --header 'Content-Type: application/json' \ --header 'x-velt-api-key: <x-velt-api-key>' \ --header 'x-velt-auth-token: <x-velt-auth-token>' \ --data '{ "data": { "apiKey": "<string>", "authToken": "<string>", "documentId": "<string>", "location": {} } }'
{ "result": { "status": "success", "message": "Data deleted successfully.", "data": null } }
Delete all data associated with a specific location
POST https://api.velt.dev/v1/organizations/documents/locations/data/delete
Show properties
{ "data": { "apiKey": "YOUR_API_KEY", "authToken": "YOUR_AUTH_TOKEN", "documentId": "YOUR_DOCUMENT_ID", "location": { "id": "scene_1", "locationName": "White scene" } } }
{ "error": { "message": "ERROR_MESSAGE", "status": "INVALID_ARGUMENT" } }
Was this page helpful?