Skip to main content
Workflow Instances End API

The API is used by the admin to end the current workflow instance.

Updated over 4 months ago

What is the Workflow Instances End API?

The API is used by the admin to end the current workflow instance.


API Calling

The API is used by the admin to end the current workflow instance.

Request Frequency: 20 times/second

Request Method: POST

Request Parameters:

Parameter

Required

Type

Description

instance_id

Yes

String

Instance ID is the same as data_id. End the corresponding workflow instance.

Sample Request:

{
    "instance_id": "6358a65878b1fb0007aba61b"
}

Response Parameters:

Parameter

Type

Description

status

String

success: indicating that the API call is successful

failure: Indicating that the API call failed (with the error code and its description)

code

Number

Error code

message

String

Description of return code

Sample Responses:

Success Response Sample

{
    "status": "success"
}

Failure Response Sample

{
    "code": 4008,
    "message": "Action failed. Workflow is closed",
    "status": "failure"
}


I have finished reading. 🏆

👉I can't wait to SET THE API.

👉I need more HELP in Discord Forum.

Did this answer your question?