diff --git a/appinfo/routes.php b/appinfo/routes.php index 08a8970..40e9448 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -21,6 +21,10 @@ declare(strict_types=1); return [ 'resources' => [ + // Apparently has the convention calling AuthSettingsController.destroy() on DELETE 'AuthSettings' => ['url' => '/authtokens' , 'root' => ''], ], + 'routes' => [ + ['name' => 'AuthSettings#wipe', 'url' => '/authtokens/wipe/{id}', 'verb' => 'POST' , 'root' => ''], + ] ];