Skip to main content

Register a subscription

Contributors

POST /license/account/{accountId}/subscriptions/{subscriptionId}

Registers a subscription in BlueXP digital wallet and associates it with the account by using the Tenancy service.
Each subscription can be associated with multiple accounts.

Note:
This endpoint updates the expiration date based on the date provided in the request.

Token usage: BlueXP service token.

Parameters

Name Type In Required Description

accountId

string

path

True

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