Skip to content
Status

Delete instance

DELhttps://app.shuttleglobal.com/c/api/instances/{instance_id}

DELETE
/instances/{instance_id}

Mark an instance as INACTIVE. This action cannot be reversed and should be used with extreme caution.

This endpoint will, with immediate effect, mark an instance as INACTIVE. While the instance may exist in the instance list as INACTIVE for up to one year, it will be inaccessible. No further instructions will be issued by the instance (including any instructions to cancel previously issued instructions, or invalidate previously generated third party credentials). Any instructions mid-way through completion will lapse (e.g., an authorized payment not yet captured).

instance_id
required
string

The instance’s ID (cl_...), or the instance_key you gave it.

Instance successfully deleted

Unauthorized

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Example
{
"code": "UNAUTHORIZED",
"message": "Unauthorised"
}

Instance not found

Media typeapplication/json

Every error has a code and a message. Some add more fields alongside them, with detail about the error.

object
code
string

The error code, for example VALIDATION_ERROR, INVALID, INVALID_REQUEST, UNAUTHORIZED, FORBIDDEN or NOT_FOUND. Program against this, not the message.

message
string

What went wrong, in words, for logs and support.

Was this page helpful?