Disable a Company or Department - RESTful API Reference
Help Center
Choose product document...
Veeam Availability Console 2.0 Update 1
RESTful API Reference

Disable a Company or Department

You can disable a company or department with the specified ID or instanceUid.

Request

To disable a company or department, send the POST HTTPS request to the URL of the /Tenants/{ID}/action or /Tenants/{instanceUid}/action resource.

HTTP Request

POST https://<Availability-Console>:1281/v2/Tenants/{ID}/action

or

POST https://<Availability-Console>:1281/v2/Tenants/{instanceUid}/action

Request Headers

The request header must contain the authorization token for the current logon session.

Request Body

In the request body, the client must send the disable action property with the null value:

{"disable": null}

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

Response Body

In the response body, Veeam Availability Console returns a message for an action.

Example Disable a Company or Department

The following example returns a response on a disable action for a tenant with ID 2.

Request:

POST https://localhost:1281/v2/Tenants/2/action

 

Request Header:

Content-Type: application/json

Authorization: Bearer <Access-Token>

 

Request Body:

{"disable": null}

 

Response Code:

200 Success

 

Response Body:

"Tenant was disabled"

Veeam Large Logo

Deployment Guide

Administrator Guide for Service Providers

User Guide for Service Providers

Quick Start Guide for Service Providers

Administrator Guide for Enterprises

User Guide for Enterprises

Quick Start Guide for Enterprises

RESTful API Reference