AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: updateGroup

Permissions to Run the Request

Account Owner, Account Administrators, Department Administrators, or custom roles

Parameters

ParameterTypeDescription
token (required)stringAccess token. You can obtain a token by making a request.
groupId (required)stringThe ID of the group you want to edit.
name (required)stringThe name of a group.

Return Value

After the request has been successfully processed, the system returns an object with the following properties:

ParameterTypeDescription
successboolTrue if the group was successfully edited.

Possible Errors

TypeDescription
Unknown GroupThe group is not found.
Permission deniedThe user has no permissions to edit groups.
Wrong ParametersThe system failed to process the request because it did not contain all necessary parameters.

Sample Request

POST /api/v2/soap/2.0 https/1.1
SOAPAction: "updateGroup"

<?xml version="1.0" encoding="utf-8"?>
  <SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
                     xmlns="https://ispringlearn.com/go/services/api/soap">
    <SOAP-ENV:Body>
      <UpdateGroupRequest>
        <credentials>
           <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token>
        </credentials>
        <groupId>2bbc2ed0-8841-11e9-93c1-0242c0a85016</groupId>
        <name>Quality Assurance</name>
      </UpdateGroupRequest>
    </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>
XML

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="https://schemas.xmlsoap.org/soap/envelope/"
                   xmlns="https://ispringlearn.com/go/services/api/soap">
  <SOAP-ENV:Body>
    <updateGroupResult>
      <success>true</success>
    </updateGroupResult>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML