KV Store

Delete one or more keys

post/kv/del

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/kv/del
  • Auth: HTTP bearer

Request body

keysstring[] required

The key(s) to delete

project_idinteger nullable

Project ID (required for API key/session auth, optional for deployment tokens)

Example request

{
  "keys": [
    "user:123",
    "user:456"
  ],
  "project_id": 1
}

Response

Keys deleted

deletedinteger required

Number of keys deleted

Example response

{
  "deleted": 2
}

Changes

No recorded changes to this operation across all 50 revisions of this API.