Page tree
Skip to end of metadata
Go to start of metadata

Request: DELETE /group/{group_id}

Permissions to Run the Request

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

Request Headers

Parameter

Description

X-Auth-Account-Url (required)The base URL of the account, e.g. http://myaccount.ispringlearn.com.
X-Auth-Email (required)The login of Account OwnerAccount AdministratorsDepartment Administrators, or a user with a role with custom settings allowing to delete groups.
X-Auth-Password (required)The password of Account OwnerAccount  AdministratorsDepartment Administrators, or a user with a role with custom settings allowing to delete groups.
group_id (required)The ID of a group you want to delete.

Response Codes

CodeTextDescription
204Successful operationThe group is deleted.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission deniedThe user doesn't have enough permissions to delete a group.

Sample Request

DELETE /group/b1496214-acab-11e9-8db0-120a62f268a9 HTTP/1.1
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: http://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password

Sample Response

HTTP/1.1 204 Successful operation
Connection: close
  • No labels