Restarting flow services

Restarts a flow service execution instance.

Before you begin

You need execute permission for the project.

Procedure

  1. In a REST client platform, add authentication details of the tenant.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "mcsp_or_isv_token"
    }
  2. Make a POST request at the URL of the workflow.
    URL Syntax - /apis/v2/rest/projects/:project/flowservices/:flowservice_name/:execution_id/restart
    If the request is successful, you receive the response code for success.
    {
        "result": {
            "status": "0",
            "messages": [
                "<flow service name> submitted for execution."
            ]
        },
        "resultReference": {
            "id": "<id>",
            "uri": "<uri>"
        }
    }