Skip to content

Update an Admin

Request

Updates an admin using the provided parameters.

Security
apiKeyAuth and practiceGroupId
Path
idstringrequired
Bodyapplication/jsonrequired
external_prescriber_idstring or null, non-empty
prescriber_detailsobject or null
curl -i -X PATCH \
  'https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admins/{id}' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-practice-group-id: YOUR_API_KEY_HERE' \
  -d '{
    "external_prescriber_id": "string",
    "prescriber_details": {
      "name": "string",
      "email": "user@example.com",
      "registration_code": "string"
    }
  }'

Responses

Ok

Bodyapplication/json
admin_idstringrequired
Response
{ "admin_id": "string" }