summaryrefslogtreecommitdiff
path: root/internal/api/client/admin/domainkeysexpire.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/admin/domainkeysexpire.go')
-rw-r--r--internal/api/client/admin/domainkeysexpire.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/api/client/admin/domainkeysexpire.go b/internal/api/client/admin/domainkeysexpire.go
index e18eae126..6f2e1bb6b 100644
--- a/internal/api/client/admin/domainkeysexpire.go
+++ b/internal/api/client/admin/domainkeysexpire.go
@@ -77,21 +77,35 @@ import (
// schema:
// "$ref": "#/definitions/adminActionResponse"
// '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) DomainKeysExpirePOSTHandler(c *gin.Context) {
authed, errWithCode := apiutil.TokenAuth(c,