Use this API to update a tenant.

Resource Information

Method

URL

Required authentication

PUT

/V1/CMDB/Tenants

Yes

Parameters

Name

Description

Token*required
(header)

Place the token received from the API Log in to get an authentication token.

Request*required
(body)

The body contains the following parameters:

tenantId*(string): the name of the tenant that you want to update.

tenantName (string): the name of the tenant that you want to update.

description (string): the description of the tenant.

maximumNodes (integer): the maximum licensed node count that the tenant owns. The number must be greater than 0.

maximumPorts (integer): the maximum number of SDN ports that the tenant owns.

maxinumCPU (integer): the maximum number of SDN CPU processors that the tenant owns.

Example:

{
  "tenantId""4e75247a-309c-4231-96a5-823b6cb1e78d",
  "tenantName""TenantName",
  "description""Description",
  "maximumNodes""5"
}

Response

Parameter

Type

Description

Example

statusCode

integer

The returned status code of executing the API.

{
  "statusCode"790200,
  "statusDescription""success"
}

statusDescription

string

The explanation of the status code.