post https://{hostname}/api-definitions/v2/endpoints//versions//cloneVersion
Creates a new endpoint version as a clone of an existing version. The system assigns a new number to the version that you clone.
Responses
Creates a new endpoint version as a clone of an existing version. The system assigns a new number to the version that you clone.
xxxxxxxxxx
curl --request POST \
--url https://hostname/api-definitions/v2/endpoints/apiEndPointId/versions/versionNumber/cloneVersion \
--header 'accept: application/json'
xxxxxxxxxx
135}
{
"akamaiSecurityRestrictions": null,
"apiCategoryIds": [
2,
7
],
"apiEndPointHosts": [
"bookstore.api.akamai.com"
],
"apiEndPointId": 492375,
"apiEndPointLocked": false,
"apiEndPointName": "Bookstore API Premium",
"apiEndPointScheme": "http/https",
"apiEndPointVersion": 574127,
"apiResources": [
{
"apiResourceClonedFromId": null,
"apiResourceId": 2926712,
"apiResourceLogicId": 118435,
"apiResourceMethods": [
{
"apiParameters": [
{
"apiChildParameters": [],
"apiParamLogicId": 578116,