Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
integer
required

Body

reason
string
Maximum string length: 500
close_positions
boolean
default:false

Response

200 - application/json

Standard serializer for operation responses. A command or a task should return a response matching this format. Operation = a request to perform some action, e.g. sync, update, delete, create, etc.

success
boolean
required

Indicates whether the operation completed successfully.

results
any[]
required

List containing the result items produced by the operation. The structure of each item depends on the executed operation.

summary
object
required

Aggregated summary information about the operation results (e.g. counts of updated, created, failed or unchanged records).

duration_ms
number<double>
required

Execution time of the operation in milliseconds.

message
string | null

Optional human-readable message describing the operation outcome.