cURL
curl --request DELETE \ --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "reason": "<string>", "cancelledBy": "<string>" } '
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Visit cancelled successfully.