Controller: License Management: SetLicenseType
SetLicenseType
Sets the type of a license
Authentication Methods
- With a username and password
- With AMS username and password
Input Parameter | Type | Description |
---|---|---|
Token | String | Security token. *Note: Required when using a partner account. |
ID* | String[] | ID(s) of the license(s) to update |
Type* | LicenseType | Type to update to. Note*: Changing to a free subscription is not allowed in User context |
Date | Date | The date that the change should start,by default it’s now() Format is yyyy/mm/dd |
Output Parameter | Type | Description |
---|---|---|
Success | Boolean | True or false |
*=required
EXAMPLES
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Task=SetLicenseType&Token=ne8qsf1uq2h9b7prspb7r93oi0&ID[]=ad978144-433b-ae5f-9796-f9b6bed93a89&Type=Monthly'
RESPONSE
<Response>
<Status>1</Status>
<Message>Success</Message>
</Response>