Update a subscription training key by id

Prev Next
Get
/UpdateSubscriptionTrainingKey

Allows you to update a subscription training key.

Security
API Key
Header parameter nameapi_key
Query parameters
Id
stringRequired

The Id of the subscription training key.

trainingKey
stringRequired

The subscription training key.

organizationId
integer (int32)

The Id of the related organization.

subscriptionProfileId
integer (int32) Required

The Id of the related subscription profile.

expirationDate
integer (int64) Required

When the subscription training key expires (in Unix epoch time).

maxKeyUses
integer (int32)

The maximum number of uses for the related subscription training key. If not supplied then this setting will default to 1.

contentExpirationDate
integer (int64)

If supplied (in Unix epoch time) then this setting overrides the expiration date and sets the Content Availability Override checkbox.

Responses
200

OK Response

object
Status
integer (int32)

Indicates the status of the API request.

0 = Success
10 = Error
20 = Not found
30 = Invalid integration key

Example10
Error
string | null

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).