question

Instances

I am looking to restart an instance using the Cycle API based on some application logic. I tried going through the documentation but could not find anything to restart an instance through the API. Am I missing something? Any help would be appreciated. Docs I was going through: https://api.docs.cycle.io/tag/Instances Thank you!

avatar
2
  • Hey Siddharth, thanks for your question!

    You cannot restart individual instances of a container, however you can restart a container (which will in turn restart the instances).

    To do this you'll need to submit a stop job and then a start job - docs here - https://api.docs.cycle.io/tag/Containers#operation/createContainerJob.

    avatar
    platform
  • Thank you!

    avatar
v2024.12.08.01 © 2024 Petrichor Holdings, Inc.