From 93eef9ce7e08956880dc710013d2eed8f3bcf52a Mon Sep 17 00:00:00 2001 From: robbi5 Date: Tue, 27 Jan 2026 16:12:35 +0100 Subject: [PATCH] Remove duplicate device/revoke from api documentation --- doc/api/deviceauth.rst | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/doc/api/deviceauth.rst b/doc/api/deviceauth.rst index acf3d22a82..494268a77b 100644 --- a/doc/api/deviceauth.rst +++ b/doc/api/deviceauth.rst @@ -208,20 +208,6 @@ Additionally, when creating a device through the user interface or API, a user c the device. These include an allow list of specific API calls that may be made by the device. pretix ships with security policies for official pretix apps like pretixSCAN and pretixPOS. -Removing a device ------------------ - -If you want implement a way to to deprovision a device in your software, you can call the ``revoke`` endpoint to -invalidate your API key. There is no way to reverse this operation. - -.. sourcecode:: http - - POST /api/v1/device/revoke HTTP/1.1 - Host: pretix.eu - Authorization: Device 1kcsh572fonm3hawalrncam4l1gktr2rzx25a22l8g9hx108o9oi0rztpcvwnfnd - -This can also be done by the user through the web interface. - Event selection ---------------