Update Tenant
Operation ID: updateTenant
Update Cloud Director tenant IDs of the platform tenant
Tenant ID of the tenant to update
Cloud Director tenant IDs to update in the platform tenant. Only property 'cd_tenant_ids' takes effect
{
"tenant_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"extensions": {
"key": ""
},
"cd_tenant_ids": [
"8daca9a9-5b11-4f63-9c52-953a2ef77739"
],
"name": "ACME",
"active": true,
"health": "NOT_APPLICABLE"
}
The suggested name of platform tenant; typically it is the VCD tenant name. If platform cannot adopt the this name, it is okay to use any string as platform tenant name. The identity of VCD and platform tenant are cd_tenant_id and tenant_id. Maintaining a record of tenant_id, cd_tenant_id and name in OSIS adaptor will make all work.
The active status of platform tenant. For the platforms not supporting activate/deactivate tenant, either returning active=true or not returning active indicates the platform tenant is in active status.
The health status of platform tenant. It should be null for the platforms not supporting tenant health status.
The ID of platform tenant. The property is absent in tenant creation request, and is mandatory in the tenant creation response.
The ID of VCD tenants.
The extension properties to fulfill requirements of specific platform. Storage vendor should contact Object Storage Extension team before adding new extension properties. Currently only one property is supported - MinIO and HCP return tenant S3 endpoint via property key s3_endpoint.
The Cloud Director IDs are updated
{
"tenant_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"extensions": {
"key": ""
},
"cd_tenant_ids": [
"8daca9a9-5b11-4f63-9c52-953a2ef77739"
],
"name": "ACME",
"active": true,
"health": "NOT_APPLICABLE"
}
The suggested name of platform tenant; typically it is the VCD tenant name. If platform cannot adopt the this name, it is okay to use any string as platform tenant name. The identity of VCD and platform tenant are cd_tenant_id and tenant_id. Maintaining a record of tenant_id, cd_tenant_id and name in OSIS adaptor will make all work.
The active status of platform tenant. For the platforms not supporting activate/deactivate tenant, either returning active=true or not returning active indicates the platform tenant is in active status.
The health status of platform tenant. It should be null for the platforms not supporting tenant health status.
The ID of platform tenant. The property is absent in tenant creation request, and is mandatory in the tenant creation response.
The ID of VCD tenants.
The extension properties to fulfill requirements of specific platform. Storage vendor should contact Object Storage Extension team before adding new extension properties. Currently only one property is supported - MinIO and HCP return tenant S3 endpoint via property key s3_endpoint.
Bad Request
{
"code": "E_BAD_REQUEST",
"message": "invalid value for the property xyz."
}
code
message