ex_heroku_client v0.4.0 Heroku.WhitelistedAddOnService

Summary

Functions

Calls POST /organizations/#{organization_identity}/whitelisted-addon-services

Calls POST /teams/#{team_identity}/whitelisted-addon-services

Calls DELETE /organizations/#{organization_identity}/whitelisted-addon-services/#{whitelisted_add_on_service_identity}

Calls DELETE /teams/#{team_identity}/whitelisted-addon-services/#{whitelisted_add_on_service_identity}

Calls GET /teams/#{team_identity}/whitelisted-addon-services

Calls GET /organizations/#{organization_identity}/whitelisted-addon-services

Functions

create_by_organization(organization_identity, params \\ %{})

Calls POST /organizations/#{organization_identity}/whitelisted-addon-services

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "addon_service": {
      "description": "name of the Add-on to whitelist",
      "example": "heroku-postgresql",
      "type": [
        "string"
      ]
    }
  },
  "type": [
    "object"
  ]
}
create_by_team(team_identity, params \\ %{})

Calls POST /teams/#{team_identity}/whitelisted-addon-services

params is JSON encoded and passed as the request body.

params Schema

{
  "properties": {
    "addon_service": {
      "description": "name of the Add-on to whitelist",
      "example": "heroku-postgresql",
      "type": [
        "string"
      ]
    }
  },
  "type": [
    "object"
  ]
}
delete_by_organization(organization_identity, whitelisted_add_on_service_identity)

Calls DELETE /organizations/#{organization_identity}/whitelisted-addon-services/#{whitelisted_add_on_service_identity}

delete_by_team(team_identity, whitelisted_add_on_service_identity)

Calls DELETE /teams/#{team_identity}/whitelisted-addon-services/#{whitelisted_add_on_service_identity}

list_all_whitelisted_addon_services_for_a_team(team_identity)

Calls GET /teams/#{team_identity}/whitelisted-addon-services

list_all_whitelisted_addon_services_for_an_organization(organization_identity)

Calls GET /organizations/#{organization_identity}/whitelisted-addon-services