Search…
Activating a subscription
Learn how to activate a subscription.
The following POST /v1/subscriptions/{subscriptionId}/activate request activates a subscription. You need to provide the subscriptionId and the activationKey. The activationDate and expirationDate attributes are optional.
cURL
1
curl --location --request POST 'http://{host}/v1/subscriptions/{subscriptionId}/activate' \
2
--header 'Content-Type: application/json' \
3
--header 'Authorization: Basic ***' \
4
--data-raw '{
5
"activationKey" : "{string}",
6
"activationDate": "2019-08-24T14:15:22Z",
7
"expirationDate": "2019-08-24T14:15:22Z"
8
}'
Copied!
You will receive a 202 Accepted response and the subscription state will change from PendingActivation to Subscribed.
Last modified 2mo ago
Copy link