Update

Update an organization user group. This endpoint allows you to update properties of an existing user group.

PATCH https://api.tedee.com/api/v37/organization/{organizationId}/user-groups/{groupId}

URI Parameters

Name

Type

Description

groupId

UUID

id of user group

organizationId

number

id of organization

Body Parameters

Name

Type

Description

name

string

new name of the user group

Responses

Name

Description

204 No Content

successful operation

Scopes

Name

Description

Organization.ReadWrite

Grants user possibility to read and write organization data

Examples

Update group name

Sample Request

curl -X PATCH "https://api.tedee.com/api/v37/organization/1/user-groups/a4d5e6f7-8b9c-4d2e-9f1a-3b4c5d6e7f8a" -H "accept: application/json" -H "Content-Type: application/json" -H "Authorization: Bearer <<access token>>" -d "<<body>>"

Body:

{
    "name": "Senior Engineering Team"
}

Sample response

HTTP status code: 204

No content returned