diff options
Diffstat (limited to 'internal/api/client/accounts/accountdelete.go')
| -rw-r--r-- | internal/api/client/accounts/accountdelete.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/api/client/accounts/accountdelete.go b/internal/api/client/accounts/accountdelete.go index e7682b2ce..27f0a428d 100644 --- a/internal/api/client/accounts/accountdelete.go +++ b/internal/api/client/accounts/accountdelete.go @@ -56,14 +56,24 @@ import ( // '202': // description: "The account deletion has been accepted and the account will be deleted." // '400': +// schema: +// "$ref": "#/definitions/error" // description: bad request // '401': +// schema: +// "$ref": "#/definitions/error" // description: unauthorized // '404': +// schema: +// "$ref": "#/definitions/error" // description: not found // '406': +// schema: +// "$ref": "#/definitions/error" // description: not acceptable // '500': +// schema: +// "$ref": "#/definitions/error" // description: internal server error func (m *Module) AccountDeletePOSTHandler(c *gin.Context) { authed, errWithCode := apiutil.TokenAuth(c, |
