billing

Turn an add-on on for this project (owner/admin)

It CHANGES WHAT THE ORG IS BILLED: the org's subscription line for the add-on goes up by one, prorated by the provider. Refused with 402 for an org with no subscription — start a plan with a card first. Idempotent.

post/v1/projects/{project_id}/addons/{addon_id}/enable

Request

  • Base URL: https://api.wavehouse.cloud
  • URL: https://api.wavehouse.cloud/v1/projects/{project_id}/addons/{addon_id}/enable
  • Auth: one of:
    • API key in cookie whc_session
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

project_idstring required
addon_idstring required

an addon_id from list-project-addons

Response

OK

addon_idstring required
currencystring required

ISO 4217

enabledboolean required
enabled_atstring date-time

absent while off

monthly_price_microsinteger required

per project with it on, billed to the org

namestring required

Changes

No recorded changes to this operation across all 1 revision of this API.