DeleteProcess

Description: Deletes a process in the Rulex server.

URL/deleteProcess

Method: POST

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

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


JSON parameters

In JSON the following parameters are required:

Name

Data Type

Mandatory

Default Value

Description

process

string/list

Yes

n/a

The name of the process you want to delete.

The body of the text must be as follows:

{ 
	process: prc label | ["prc1", "prc2"]
}


Form-data parameters

In the form-data key value pair, the "key" name is process and the following parameters are required:

Name

Data Type

Mandatory

Default Value

Description

process

string/list

Yes

n/a

The name of the process you want to delete

The header has the following format:

{ 
	Content-Type : "application/ 
	x-www-form-urlencoded" 
}

Response Codes

Code

Result

Response

Success

200

Success

Warnings

307

Temporary redirect

{ 
	resultUrl : url 
}

Client errors

400

Bad request

404

Not found