summaryrefslogtreecommitdiff
path: root/internal/api/client/admin/accountaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/admin/accountaction.go')
-rw-r--r--internal/api/client/admin/accountaction.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/api/client/admin/accountaction.go b/internal/api/client/admin/accountaction.go
index 290d80b71..ab68ed3ed 100644
--- a/internal/api/client/admin/accountaction.go
+++ b/internal/api/client/admin/accountaction.go
@@ -69,21 +69,35 @@ import (
// '200':
// description: OK
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '403':
+// schema:
+// "$ref": "#/definitions/error"
// description: forbidden
// '404':
+// schema:
+// "$ref": "#/definitions/error"
// description: not found
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
// '409':
+// schema:
+// "$ref": "#/definitions/error"
// description: >-
// Conflict: There is already an admin action running that conflicts with this action.
// Check the error message in the response body for more information. This is a temporary
// error; it should be possible to process this action if you try again in a bit.
// '500':
+// schema:
+// "$ref": "#/definitions/error"
// description: internal server error
func (m *Module) AccountActionPOSTHandler(c *gin.Context) {
authed, errWithCode := apiutil.TokenAuth(c,