POST
/
admin
/
apis
/
import
Import APIs
curl --request POST \
  --url https://{tenant}/admin/apis/import \
  --header 'Admin-Auth: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "apis": [
    {
      "api_definition": {
        "api_id": "5fa2db834e07444f760b7ceb314209fb",
        "name": "API 2"
      },
      "hook_references": [],
      "is_streams": false,
      "sort_by": 0
    }
  ]
}'
{
  "Message": "APIs imported",
  "Meta": {
    "5fa2db834e07444f760b7ceb314209fb": true,
    "7a6ddeca9244448a4233866938a0d6e2": true
  },
  "Status": "OK"
}

Authorizations

Admin-Auth
string
header
required

Api key

Body

application/json
apis
object[] | null
pages
integer

Response

OK

ID
string
Message
string
Meta
any
Status
string