cURL
curl --request POST \ --url https://api.velt.dev/v1/users/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": { "userIds": [ "<string>" ], "organizationIds": [ "<string>" ] } }'
{ "status": "success", "message": "Data deletion process has been initiated.", "data": { "jobId": "dsQuvPmIynANgPLLEhCm", "tasksCount": 5 }, "statusCode": 202 }
Remove All User data from Velt.
POST https://api.velt.dev/v1/users/data/delete
Show properties
{ "data": { "userIds": [ "yourUserId1", "yourUserId2" ], "organizationIds": [ "yourOrganizationId1", "yourOrganizationId2" ] } }
{ "error": { "message": "ERROR_MESSAGE", "status": "INVALID_ARGUMENT" } }
Was this page helpful?