Skip to main content
PATCH
/
api
/
2.0
/
staff_groups
/
{id}
Partially Update Staff Group
curl --request PATCH \
  --url https://sandbox.elationemr.com/api/2.0/staff_groups/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "is_elation_group": true,
  "name": "<string>",
  "practice": 123,
  "users": [
    123
  ]
}
'
{
  "name": "<string>",
  "practice": 123,
  "users": [
    123
  ],
  "created_date": "2023-11-07T05:31:56Z",
  "deleted_date": "2023-11-07T05:31:56Z",
  "id": 123,
  "is_elation_group": true
}

Documentation Index

Fetch the complete documentation index at: https://help.elationhealth.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

id
integer<int64>
required

Body

application/json
is_elation_group
boolean

Whether the staff group is an Elation group.

name
string

The name of the staff group.

Maximum string length: 50
practice
integer<int64>

The id of the practice that the staff group belongs to.

users
integer[]

A list of user ids inside the group.

Response

200 - application/json
name
string
required

The name of the staff group.

Maximum string length: 50
practice
integer<int64>
required

The id of the practice that the staff group belongs to.

users
integer[]
required

A list of user ids inside the group.

created_date
string<date-time> | null
read-only
deleted_date
string<date-time> | null
read-only
id
integer
read-only
is_elation_group
boolean

Whether the staff group is an Elation group.