Skip to main content

Update subscription expiration date

Contributors

PATCH /license/subscriptions/subscription/{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: Either a BlueXP user token or service token.

Caution This operation is deprecated.

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

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:

  • 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