Flush the credential cache: one module's partition (`{module}`) or everything (empty body). Instant revocation of the cached-allow window

Changed on
post/api/v1/admin/auth/cache/flush

Request

  • The document declares no server URL.
  • Auth: one of:
    • API key in header x-admin-token
    • HTTP bearer

Request body

modulestring nullable

The auth module whose cache partition to flush. Omitted = flush all.

Response

{flushed}: entries dropped

flushedinteger required

Changes

    • breaking

      added required request body

    • info

      api operation id PostAuthCacheFlush was added

    • info

      added the non-success response with the status