Skip to main content
PATCH
Submit a close request for one account and symbol

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

account_id
integer
Required range: x >= 1
symbol
string
Maximum string length: 50
triggered_by
string

Optional actor label. Defaults to the authenticated user's email, name, or identifier, then 'system'.

Maximum string length: 255
user_id
integer

Optional user identifier to associate with the close request. Defaults to the account owner.

Required range: x >= 1

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.