AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: removeGroup

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 a group you want to delete.

Return Value

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

ПараметрТипОписание
successboolTrue if the group has been deleted.

Possible Errors

Error

Description

Permission deniedThe user has no permissions to delete groups.
Wrong parametersThe group with the given ID wasn't found.

Sample Request

 <?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>
     <RemoveGroupRequest>
       <credentials>
          <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token>
       </credentials>
       <groupId>string</groupId>
     </RemoveGroupRequest>
   </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>
    <successResult>
      <success>true</success>
    </successResult>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML