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
promo_codeneeds to be valid and unexpired.
Parent and child accounts
In the context of the parent and child accounts feature, this operation isn't available for child account users.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
create_promo_code
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
account:read_only
- Scopes:
CLI
linode-cli account \
promo-add \
--promo-code abcdefABCDEF1234567890