diff --git a/api/swagger.yaml b/api/swagger.yaml
index bcaf549e1f..43a93aa0b8 100644
--- a/api/swagger.yaml
+++ b/api/swagger.yaml
@@ -8726,6 +8726,10 @@ paths:
               IdentityToken: "9cbaf023786cd7..."
         204:
           description: "No error"
+        401:
+          description: "Auth error"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         500:
           description: "Server error"
           schema: