Write Plugins v1.x

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

request:onUnauthorized #

Arguments Type Description
request Request The normalized API request

Triggered whenever a request fails authorization checks, and is about to be rejected with a 401 error code.