The Cancel command allows you to cancel a specified lab instance.
Please note: when issuing this command that there is some time required for the lab instance tear down process. If retrying a lab launch for a user where the Max Active Lab Instances Per User is set to 1 for the API consumer, then please take this teardown time into account for the API integration.
All methods require an API key, which must be obtained from Skillable. This key is used by Skillable to validate your account. The key can be passed as an HTTP request header with the header name "api_key".
The ID of the lab instance to cancel.
OK Response
Example of a successful response
{
"Result": 1,
"Error": null,
"Status": 1
}
Example of an error response
{
"Error": "Invalid integration key",
"Status": 1
}
Indicates the result of the lab instance cancellation.
0 = Error
1 = Success
Indicates the status of the API request.
0 = Error
1 = Success
In the event of an error, this will contain a detailed error message.