Delete a Managed Client
You can unassign a company with the specified ID from a reseller.
Request
To unassign a company from a reseller, send the DELETE HTTPS request to the URL of the /resellers/{ID}/managedClients/{ID} resource.
HTTP Request
DELETE https://<Availability-Console>:1281/v2/resellers/{ID}/managedClients/{ID} |
Request Headers
The request header must contain the authorization token for the current logon session.
Response
The server returns the following response to the client.
Response Code
A successfully completed operation returns response code 200 Success.
Response Headers
The response to this request contains the following headers. The response may also include additional standard HTTP headers.
Header | Description |
Content-length | The length of the response body. |
Content-type | The media type and syntax of the request body message: application/json; charset=utf-8 |
Example
The following example unassigns a company with ID 3 from a reseller with ID 2.
Request: DELETE https://localhost:1281/v2/resellers/2/managedClients/3
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: "Managed companies have been removed from the reseller." |