post https://api.linode.com//account/promo-codes
Adds an expiring Promo Credit to your account. The following restrictions apply:
-
Your account needs to be less than 90 days old.
-
You can't already have a Promo Credit on your account.
-
The user making the request needs to be unrestricted. You can run the Update a user operation to change a user's restricted status.
-
The
promo_code
needs to be valid and unexpired.
Parent and child accounts
In a parent and child account environment, the following apply:
- Child account users can't run this operation. These users don't have access to billing-related operations.
linode-cli account \
promo-add \
--promo-code abcdefABCDEF1234567890
<https://www.linode.com/docs/products/tools/cli/get-started/>
account:read_only
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>