AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: POST /group/{group_id}
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Header | Description |
---|
X-Auth-Account-Url (required) | The base URL of the account, e.g. https://myaccount.ispringlearn.com. |
X-Auth-Email (required) | The login of Account Owner, Administrators, Department Administrators or a user with a role with custom settings allowing to edit groups. |
X-Auth-Password (required) | The password of Account Owner, Administrators, Department Administrators or a user with a role with custom settings allowing to edit groups. |
Parameter | Description |
---|
group_id (required) | The ID of a group you want to edit. |
name (optional) | The name you want to assign to a group. |
Response Codes
Code | Text | Description |
---|
200 | OK | The parameter is successfully updated. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error. |
403 | Permission denied | The user doesn't have enough permissions to update a group. |
Sample Request
POST /group/b1496214-acab-11e9-8db0-120a62f268a9 https/1.1
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: https://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password
Content-Type:application/xml
<?xml version="1.0" encoding="UTF-8"?>
<request>
<name>New Hires</name>
</request>
XML
Sample Response