UNPKG

heroku-client

Version:

A wrapper for the Heroku v3 API

47 lines (28 loc) 861 B
# addon Add-ons represent add-ons that have been provisioned for an app. ## Actions ### `create` `heroku.apps({app_id_or_name}).addons().create({attributes}, {callback});` Method | Path --- | --- POST | /apps/{app_id_or_name}/addons ### `delete` `heroku.apps({app_id_or_name}).addons({addon_id}).delete({callback});` Method | Path --- | --- DELETE | /apps/{app_id_or_name}/addons/{addon_id} ### `info` `heroku.apps({app_id_or_name}).addons({addon_id}).info({callback});` Method | Path --- | --- GET | /apps/{app_id_or_name}/addons/{addon_id} ### `list` `heroku.apps({app_id_or_name}).addons().list({callback});` Method | Path --- | --- GET | /apps/{app_id_or_name}/addons ### `update` `heroku.apps({app_id_or_name}).addons({addon_id}).update({attributes}, {callback});` Method | Path --- | --- PATCH | /apps/{app_id_or_name}/addons/{addon_id}