Update Tenant

Update Tenant

Operation ID: updateTenant
Update Cloud Director tenand IDs of the storage tenant

Request
URI
PATCH
https://{api_host}/osis/api/v1/tenants/{tenantId}
COPY
Path Parameters
string
tenantId
Required

ID of the storage tenant to update


Request Body

Cloud Director tenant IDs to update in the storage tenant. Only property 'cd_tenant_ids' takes effect

OsisTenant of type(s) application/json
Required
{
    "name": "ACME",
    "active": true,
    "tenant_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "cd_tenant_ids": [
        "8daca9a9-5b11-4f63-9c52-953a2ef77739"
    ]
}
string
name
Required

tenant name

boolean
active
Required

tenant status

string
tenant_id
Required

tenant id

array of string
cd_tenant_ids
Optional

Cloud Director tenant ids

Authentication
This operation uses the following authentication methods.
Responses
200

The mapping Cloud Director IDs in storage tenant are updated

Returns OsisTenant of type(s) application/json
{
    "name": "ACME",
    "active": true,
    "tenant_id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
    "cd_tenant_ids": [
        "8daca9a9-5b11-4f63-9c52-953a2ef77739"
    ]
}
string
name
Required

tenant name

boolean
active
Required

tenant status

string
tenant_id
Required

tenant id

array of string
cd_tenant_ids
Optional

Cloud Director tenant ids


400

Bad Request

Returns OsisError of type(s) application/json
{
    "code": "E_BAD_REQUEST",
    "message": "invalid value for the property xyz."
}
string
code
Required

code

string
message
Optional

message