Skip to content
Navigation

Delete an index

Permanently deletes a dynamically created index and its events. Requires the admin token. The default index and indexes declared in the server configuration can't be deleted. Once accepted, the deletion finishes even if the client disconnects. A later ingest to the same name recreates the index, so stop producers first.

DELETE
/indexes/{index}

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • index
    string
    required

    Index name: lowercase letters, digits, underscores and hyphens. The token's index scope applies as well as its source scope.

    maxLength: 63 · minLength: 1 · pattern: ^[a-z0-9][a-z0-9_-]*$

Returns

200

Index deleted

JSON
  • deleted
    string
    required

400

Invalid name or protected default/configured index

401

Valid credential required

403

Admin token required

404

Unknown index

429

Request capacity exhausted

503

Shutdown or filesystem operation failed; inspect state before retrying

Type to search…

↑↓ navigate↵ selectEsc close