Practitioner Operations

send-reset-password-email #

Send reset password email to Practitioner by the given ID.

This endpoint is a FHIR operation, so it accepts a Parameters resource in the request body. It doesn’t accept any specific parameters but requires a payload that states the resource type. See the request example for more detail.

The bearer token included in requests send to this endpoint must have one of the following scopes:

  • system/Practitioner.send-reset-password-email
  • user/Practitioner.send-reset-password-email
  • curl --request POST \
         --url 'https://fumage-example.canvasmedical.com/Practitioner/<id>/$send-reset-password-email' \
         --header 'Authorization: Bearer <token>' \
         --header 'accept: application/json' \
         --header 'content-type: application/json' \
         --data '
    {
        "resourceType": "Parameters"
    }'
    
  • import requests
    
    url = "https://fumage-example.canvasmedical.com/Practitioner/<id>/$send-reset-password-email"
    
    headers = {
        "accept": "application/json",
        "Authorization": "Bearer <token>",
        "content-type": "application/json"
    }
    
    payload = {
        "resourceType": "Parameters"
    }
    response = requests.put(url, json=payload, headers=headers)
    
    print(response.text)