Skip to main content

Update a subscription expiration date

Contributors

PATCH /license/subscriptions/{subscriptionId}

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: BlueXP service token.

Parameters

Name Type In Required Description

subscriptionId

string

path

True

X-Service-Request-Id

string

header

False

Request identifier

Request Body

Name Type Required Description

subscriptionType

string

True

expirationDate

integer

True

dwAudit

boolean

False

BlueXP digital wallet audits, by default, all API calls.

NOTE:

  • To stop BlueXP digital wallet from auditing a request, you can set the calling service to false

  • dwAudit is an optional parameter, the default value is true

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"
}