Subscription

Create a subscription for an API Product

Changed on
post/api/subscriptions

Request

  • The document declares no server URL.
  • Auth: HTTP bearer and API key in header X-Portal-Developer-ID

Request body

applicationsID[] required
api_productsID[] required

Example request

{
  "applications": [
    "bd58fce2-b6cc-4d2d-a53c-6ce11b19c101"
  ],
  "api_products": [
    "bd58fce2-b6cc-4d2d-a53c-6ce11b19c101"
  ]
}

Response

The resource was created successfully.

Changes

    • breaking

      request body became required

    • info

      the endpoint scheme security BearerAuth AND DeveloperIDHeader was added to the API

    • info

      the response's property default value 400 was removed for the status

    • info

      the response's property default value 401 was removed for the status