cURL
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" }
The import APIs operates on lists of APIs.
Documentation IndexFetch the complete documentation index at: https://tyk.io/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Api key
Show child attributes
OK
Was this page helpful?
Contact support