Deleting workflows

Delete a workflow and all its dependencies from a particular project.

Before you begin

You need an admin access to delete workflows within a project. If you do not have admin access but hold a custom role, verify that you have the write access specifically for the project where you intend to delete workflows.

Procedure

  1. In a REST client platform, add the authentication details of the tenant that is associated with the workflow that you want to delete.
    
    //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 DELETE request at the URL of the workflow.

    URL Syntax: <domain>/apis/v1/rest/projects/:project/workflows/:workflow

    In this URL request, /:project is the name of the project that is associated with the workflow you want to delete and /:workflow is the UID of the workflow you want to delete.

    If the request is successful, you receive the response code for success.
    {
     output: 
    	{
    	message: "Object deleted successfully."
    	}
    }