Packets

Delete session value

Removes a key-value entry from temporary storage bound to the current session.

Delete session value removes a value from session-scoped storage by key. This operation is available only after successful Initialize.

Request

Delete session value uses packet type = 14.

{
  "type": 14,
  "id": 15,
  "key": "launcher_token"
}

Prop

Type

Response

{
  "id": 15,
  "status": 1
}

Prop

Type

Behavior notes

  • Request and response are regular text JSON websocket frames.
  • Storage is session-scoped; only values in the current session can be removed.
  • Ok means the key existed and was removed successfully.
  • If key is missing or its value already expired, server returns StoreValueNotFound.
  • After successful deletion, Get session value for the same key returns StoreValueNotFound until a new value is written.

Delete-session-value statuses

StatusConstantReturned when
1OkValue was removed successfully.
700StoreValueNotFoundKey does not exist in current session cache or value already expired.

Connection-close cases (before/around this usecase)

Delete session value itself returns regular JSON responses, but session can still be closed by protocol/session guards:

Close codeErrorWhen it happens
4200connection is not initializedRequest was sent before successful Initialize.
4201rate limit hitGlobal per-session packet rate limit was exceeded.
4302invalid request bodyPacket body does not match the required schema for this operation.
4304received unsupported dataClient sent unsupported frame type (request packets must be text JSON).

On this page