Update a subscription expiration date
PATCH /license/subscriptions/subscription
Updates a subscription expiration date by using a specified subscription ID for services that support modification of the subscription expiry dates. Alternatively, you can update the subscription name of services.
Note:
To update the expiration date, expiration date and service name are mandatory, dwAudit is optional.
To update the subscription name, provide only the subscription name. Do not provide a value for dwAudit.
Token usage: Either a BlueXP user token or service token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
Name | Type | Required | Description |
---|---|---|---|
subscriptionId |
string |
False |
|
accountId |
string |
False |
|
serviceName |
string |
False |
|
subscriptionName |
string |
False |
|
expirationDate |
integer |
False |
|
subscriptionType |
string |
False |
|
dwAudit |
boolean |
False |
BlueXP digital wallet audits, by default, all API calls. NOTE:
|
Example request
{
"subscriptionId": "string",
"accountId": "string",
"serviceName": "string",
"subscriptionName": "string",
"subscriptionType": "string"
}
Response
Status: 200, Success response
Response
Status: 4xx, Error response
Name | Type | Required | Description |
---|---|---|---|
errorCode |
string |
False |
error code |
error |
string |
False |
Error code/category |
message |
string |
False |
Error description message |
Example response
{
"errorCode": "string",
"error": "string",
"message": "string"
}