Account Owner, Account Administrators, Department Administrators, or custom roles.
Parameter | Type | Description |
---|---|---|
token (required) | string | Access token. You can obtain a token by making a request. |
name (required) | string | The name of the new group. |
userId (optional) | string | The ID of a user. |
Parameter | Type | Description |
---|---|---|
groupId | string | The ID of the created group. |
Error | Description |
---|---|
Permission denied | The user has no permissions to add groups. |
Wrong parameters | The system failed to process the request because it did not contain all necessary parameters. |
<?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> <AddGroupRequest> <credentials> <token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</token> </credentials> <name>NEW_GROUP</name> <userIds> <id>cfe9248a-deb4-11e9-979c-0a580af40764</id> <id>d030ff3a-deb4-11e9-b26a-0a580af40764</id> <id>d07ba5f8-deb4-11e9-a6de-0a580af40764</id> </userIds> </AddGroupRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |
<?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> <AddGroupResult> <groupId>string</groupId> </AddGroupResult> </SOAP-ENV:Body> </SOAP-ENV:Envelope> |