@spec update_remaining(map()) :: :ok

Updates the remaining value for a specified key.

Request

keyId
string
required

The ID of the key you want to modify.

op
increment | decrement | set

The operation you want to perform on the remaining count.

Available options: “increment” | “decrement” | “set”

value
integer | nil

The value you want to set, add or subtract the remaining count by

Response

remaining
integer | nil
required

The updated remaining value.