cURL
curl --request POST \ --url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#GMAIL_DELETE_EMAIL' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "GMAIL_DELETE_EMAIL", "parameters": { "userId": "<string>", "messageId": "<string>" } } '
Your Paragon User Token (JWT), which you can generate using your project's signing keys.
Your Paragon Project ID. You can copy your Project ID from your dashboard URL or by clicking Copy Project ID under the Environment switcher.
Show child attributes
User ID : Specify the user’s email address. (example: "[email protected]")
Message ID : Specify the ID of the message to trash.
Success
Was this page helpful?