Create Tenant Properties Override

Details

API Details
Name

Create Tenant Properties Override

Description

Overrides the default tenant (vendor) properties that are used by the CloudCenter platform.

  • The ROOT Admin can override these property values for a specific tenant.
  • The Tenant Admin can override these property values for just their tenant.
MethodPOST
URIv1/tenantProperties/override
CloudCenter Release
  • Introduced in CloudCenter 4.8.2
Notes
ESB Headeraction: create.tenantProperties.override

Example 1 – ROOT Admin

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenantProperties/override/"

Request Body

{
   "propertyId":"1",
   "vendorId":"2",
   "propertyValue":"https://www.cliqr.com"
}

Response

{
   "id":"16",
   "resource":"https://<HOST>:<PORT>/tenantProperties/override/16",
   "propertyId":1,
   "vendorId":2,
   "propertyValue":"https://www.cliqr.com"
}

Example 2 – Tenant Admin

curl -k -X POST -H "Accept: application/json" -H "Content-Type: application/json" -u cloudcenteradmin:40E45DBE57E35ECB "https://<HOST>:<PORT>/v1/tenantProperties/override/"

Request Body

{
   "propertyId":"1",
   "propertyValue":"https://www.cliqrtech.com"
}

Response

{
   "id":"22",
   "resource":"https://<ccm-ip>/tenantProperties/override/22",
   "propertyId":1,
   "vendorId":2,
   "propertyValue":"https://www.cliqrtech.com"
}

Request Attributes

propertyId
  • DescriptionUnique, system-generated identifier for a tenant (vendor) property if its default value is preset by the CloudCenter platform.

  • Type: String

Required

vendorID
  • Description: Unique, system-generated ID for  the tenant organization

  • Type: String

Required for ROOT Admin users

propertyValue
  • Description: The default value for each tenant (vendor) property as specified in the request payload.

  • Type: String

Required

Response Attributes

id
  • DescriptionUnique, system-generated identifier for this CloudCenter Resource.

  • Type: String
resource
  • Description: Unique URL to access this resource.
  • Type: String

propertyId
  • DescriptionUnique, system-generated identifier for a tenant (vendor) property if its default value is preset by the CloudCenter platform.

  • Type: String

vendorID
  • Description: Unique, system-generated ID for  the tenant organization

  • Type: String

propertyValue
  • Description: The default value for each tenant (vendor) property as specified in the request payload.

  • Type: String

© 2017-2019 Cisco Systems, Inc. All rights reserved