REST API

Deleting a Plan

You can delete a plan that has a draft status or has an active or inactive status and has never been assigned to any subscriptions.
Follow these steps to delete a plan:
  1. In the endpoint path, include the plan ID that you received when you retrieved a list of plans.
  2. Send the request to the recurring billing endpoint:

    ADDITIONAL INFORMATION

    DELETE https://<
    url_prefix
    >/rbs/v1/plans/{id}

    ADDITIONAL INFORMATION

    Use one of these URL prefixes:
    • Test:
      nabgateway-api-test.nab.com.au
    • Production:
      nabgateway-api.nab.com.au
  3. Check the response message to make sure the request was successful. A 200-level HTTP response code indicates success. For information about response codes, see Transaction response codes.