Skip to main content
POST
Cancel commands

Authorizations

Authorization
string
header
required

OAuth 2.0 client credentials. Obtain a token from POST /token.

Path Parameters

id
string
required

Battery identifier.

Body

application/json
start
string<date-time> | null

Lower bound of the window (inclusive). Omitted or null means no lower bound.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?Z$
end
string<date-time> | null

Upper bound of the window (exclusive). Omitted or null means no upper bound.

Pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,9})?Z$

Response

Cancellation accepted. Lists the commands that were cancelled; empty if none matched.

cancelled
object[]
required

Commands that were cancelled. Empty if none matched.