Delete a Company

In this article

    You can delete a company with the specified ID or instanceUid.

    Request

    To delete a company from Veeam Service Provider Console, send the DELETE HTTPS request to the URL of the /tenants/{ID} or /tenants/{instanceUid} resource.

    HTTP Request

    DELETE https://<hostname>:1281/v2/tenants/{ID}

    or

    DELETE https://<hostname>:1281/v2/tenants/{instanceUid}

    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 OK.

    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 Delete a Company

    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:

    200 Success

     

    Response Body:

    "Tenant has been modified."