Skip to main content
PATCH
/
api
/
apis
/
oas
/
{current-base-apiId}
/
rebase
/
{next-base-apiId}
Convert child API to base API.
curl --request PATCH \
  --url https://{tenant}/api/apis/oas/{current-base-apiId}/rebase/{next-base-apiId} \
  --header 'Authorization: Bearer <token>'
{
  "Message": "API converted successfully",
  "Meta": null,
  "Status": "OK"
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

current-base-apiId
string
required

ID of the current base API that will be converted to a child.

next-base-apiId
string
required

ID of the child API that will become the new base API.

Response

Successfully converted.

ID
string
Message
string
Meta
any
Status
string