Support Questions

Find answers, ask questions, and share your expertise

Kill Atlas API session after import command is completed

avatar
Expert Contributor

Hello,

 

I am working on importing multiple Atlas entities using Atlas API calls. After completing execution of each curl command, the message I get is "connection is left intact". Is there a way to kill / terminate this connection to Atlas server?

 

Thanks

snm1523

1 REPLY 1

avatar
Expert Contributor

Hello @snm1523 

Add Connection: close header to your curl requests to ensure the connection is closed after each request.

Alternatively, use --no-keepalive in the curl command to prevent persistent connections.

If necessary, adjust server settings to force connections to close after each request.