cURL
curl --request DELETE \ --url https://{defaultHost}/v1/apps/{app_id}/m2m/sessions/{session_id} \ --header 'Authorization: Bearer <token>'
{ "message": "M2M session revoked successfully", "verified": true }
Delete a machine-to-machine session by ID using API key authentication
API Secret token
App ID
ID of the session to revoke
successful
"M2M session revoked successfully"
true
Was this page helpful?