Skip to content
Dark mode

Update a group

Updates an existing group on Mindtickle by group ID.

Prerequisites

  1. Authentication and setup: A valid access token.
  2. Create a group: The group must exist.
PUT /services/data/v2.0/mtobjects/Group/GROUP_ID

Base URL: the standard REST host for your region. See Base URLs.

Headers: Authorization: Bearer ACCESS_TOKEN, Content-Type: application/json.

Parameter Type Required Description
GROUP_ID string Required Mindtickle ID of the group.
Parameter Type Required Description
name string Not specified New name of the group. Include it when renaming a group.
{
"name": "APAC Sales Enablement"
}
Field Type Description
requestId string or null Request identifier. The response examples return null.
responseCode integer Special response codes from the server.
responseType string Type of response from the server.
taskCompleted boolean Completion flag for this request. This endpoint returns its result directly.
group Group Information on the group you have updated.
group.name string Name of the group.
group.id string Mindtickle ID of the group.
{
"requestId": null,
"responseCode": 0,
"responseType": "GROUP",
"taskCompleted": true,
"group": {
"name": "APAC Sales Enablement",
"id": "1234567890123456101"
}
}
Status Error Reason
400 Bad Request group with name NAME already present A group already has the requested name. This also applies when the supplied name is the current name of the group being updated.

If the group already has the desired name, skip the rename request. If an earlier request has an uncertain outcome, get the group and check its name before retrying.