Use built-in services to Deactivating Deactivating an API in API Gateway

Hi ,
can i use built-in services to Deactivating an API in API Gateway?
thanks

Is there any specific reason to perform using built in service ?It might impact your design .

yes, try the below

curl --location --request PUT ‘localhost:5555/rest/apigateway/apis/1d1fa6f0-fe06-4351-99a5-e9941892b382/deactivate’ \

–header ‘Accept: application/json’ \

–header ‘Authorization: Basic QWRtaW5pc3RyYXRvcjptYW5hZ2U=’


‘{apigatewayIPandPort}/rest/apigateway/apis/{apiid}/deactivate’ \

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.