Skip to main content
PUT
/
api
/
2.0
/
staff_groups
/
{id}
/
Update Staff Group
curl --request PUT \
  --url https://sandbox.elationemr.com/api/2.0/staff_groups/{id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "practice": 123,
  "users": [
    123
  ],
  "is_elation_group": true
}
'
{
  "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
}

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
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.

is_elation_group
boolean

Whether the staff group is an Elation 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.