Stopping service trace on an integration server by using the administration REST API

You can use the IBM® App Connect Enterprise administration REST API to stop service trace on an integration server dynamically, without having to restart the integration server.

Before you begin

Read the following topics:

About this task

If you start or stop service trace by using the administration REST API or web user interface, the setting does not persist when the integration server is restarted.

Procedure

You can use the following REST API method to stop service trace (for any trace level) on an integration server.

  • For an independent integration server:
    POST http://hostname:port/apiv2/stop-service-trace
    For example, run the following curl command:
    curl -X POST http://hostname:port/apiv2/stop-service-trace
  • For an integration server that is managed by an integration node:
    POST http://hostname:port/apiv2/servers/integrationServerName/stop-service-trace
    For example, run the following curl command to stop service trace for integration server ACESERV1:
    curl -X POST http://hostname:port/apiv2/servers/ACESERV1/stop-service-trace