vcenter trust subscriptions: update
This API is used by client to renew a subscription by extend the expiration time of its existing subscriptions. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
Request:
HTTP request
PATCH https://{server}/rest/vcenter/trust/subscriptions/{subscription_id}?action=update
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
subscription_id | string | To indicate which subscription to renew. |
Response:
HTTP Status Code: 200
Representation:
{
"value" : {
"expiration" : "string",
"subscription" : "string"
}
}
"value" : {
"expiration" : "string",
"subscription" : "string"
}
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | info | The info object that includes subscription id and expiration date. |
value.subscription | string | Subscription Id, which is the primary key in subscription database. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
value.expiration | string | The expiration datetime. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
403 | unauthorized | uauthorized |
400 | invalid_request | invalid request |
404 | not_found | not found |
500 | error | all other errors |