Clone

Description: Clones a specified versioned Rulex workflow into the Rulex Server.

URL/clone

Method: POST

Header: You must provide the authentication token in the header, using the following syntax:

{ 
	Authorization : "Bearer" +" "+ token 
}


Body parameters

In the request body the following parameters are accepted:

Name

Data Type

Mandatory

Default Value

Description

workflow_name

string

(tick)

n/a

The name you want to give to the Rulex workflow.

workflow_hash

string

(tick)

n/a

The name of the versioned Rulex workflow.

Response Codes

Code

Result

Response

Success

200

Success

Client errors

400

Bad request

404

Not found

406

Not acceptable - Missing parameter