DelScript¶
Info
DELETE https://{some_domain}/script
Deletes a script by ID and returns the deleted row.
Authorization¶
All requests must include a JWT token in Authorization.
Allowed roles: USER, MANAGER, ADMIN, DEALER.
Request¶
Content-Type: application/json
Body Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
id |
int | Yes | Script ID |
Success 200¶
{
"id": 42,
"login": 1001,
"name": "My MA",
"script": "input length = 20",
"description": "simple moving average",
"kind": "indicator",
"language": "stscript",
"visibility": "private",
"autostart": 0,
"enabled": 1,
"created_time": 1777196331,
"updated_time": 1777197000
}