Update an organization user group

Updates the specified organization user group by setting the values of the parameters passed. Any parameters not provided will be left unchanged.

PATCH/v3/organizations/{organizationId}/user-groups/{id}
JWT
organization:userGroup:update

Parameters

NameTypeInDescription
organizationId*stringpath
id*stringpathUnique identifier for the organization user group.

Request Body Schema

PropertyTypeDescriptionConstraints
namestringName of the user group.min: 1, max: 256
descriptionstringDescription for the user group.min: 0, max: 256

Request Example

{
  "name": "string",
  "description": "string"
}
Triggers webhook: organization.userGroup.updated
POST <your-webhook-url>
{
  "event": "organization.userGroup.updated",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "name": "string",
    "description": "string"
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "name": "string",
  "description": "string"
}