You can delete a company or department with the specified ID.
Request
To delete a company or department from Veeam Availability Console and Veeam Cloud Connect, send the DELETE HTTPS request to the URL of the /Tenants/{ID} resource.
HTTP Request
DELETE https://<Availability-Console>:1281/v2/Tenants/{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 204 No Content.
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 deletes a company with ID 2.
Request: DELETE https://localhost:1281/v2/Tenants/2
Request Header: Authorization: Bearer <Access-Token>
Response Code: 204 No Content |