Skip to content

Create an Admin Team

Request

Creates a new admin team with the specified name and admin members.

Security
apiKeyAuth and practiceGroupId
Bodyapplication/jsonrequired
namestring, non-emptyrequired

The name of the admin team.

Example:"Triage Team"
admin_idsArray of strings, non-emptyrequired

An array of admin user IDs to assign as members of the team.

Example:"[\"1\", \"2\"]"
curl -i -X POST \
  https://developer.herohealth.net/_mock/apis/public-api/openapi/v1/admin_teams \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY_HERE' \
  -H 'x-practice-group-id: YOUR_API_KEY_HERE' \
  -d '{
    "name": "Triage Team",
    "admin_ids": "[\"1\", \"2\"]"
  }'

Responses

Admin team created successfully

Bodyapplication/json
idnumberrequired
namestringrequired
practice_group_idnumberrequired
created_atstringrequired
updated_atstringrequired
Response
{ "id": 0, "name": "string", "practice_group_id": 0, "created_at": "string", "updated_at": "string" }