You can delete a group by sending the DELETE request to the following URL: /organization/<organization_id>.
Permission to run the request: Account Owner, Administrator.
Parameter | Description |
---|
X-Auth-Account-Url (required) | Base URL of the account, e.g. http://myaccount.ispringlearn.com |
X-Auth-Email (required) | Administrator e-mail address. |
X-Auth-Password (required) | Administrator password. |
After the request has been completed, the system returns the response with Code 204.
Possible Response Codes
Code | Text | Description |
---|
400 | Bad Request | The organization with the specified ID was not found or it is the default one. |
403 | Permission denied | You have no permissions to delete the specified organization. |
200 | OK | The organization has been deleted. |
Sample Request
DELETE /organization/4 HTTP/1.1
Host: api.ispringonline.com
X-Auth-Account-Url: http://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password
XML
Sample Response
HTTP/1.1 200 OK
Connection: close
XML