Deprecate a set of API versions

POST https://{controlplane_path}/api/1/rest/public/apim/deprecate_versions      

Overview

This API deprecates the specified set of API versions.

Prerequisites

  • Environment (Org) admin permissions

{
    "response_map": {
        "successful_versions": [
            "/Automation2/apim//Test/3.0.0"
        ],
        "unsuccessful_versions": []
    },
    "http_status_code": 200
}
Key Type Description
successful_versions array An array of strings containing the paths of the API versions that were successfully processed.
unsuccessful_versions array An array of objects containing:
  • the path to the API version that failed
  • the reason for the failure