diff options
Diffstat (limited to 'internal/api/client/admin/domainblockdelete.go')
-rw-r--r-- | internal/api/client/admin/domainblockdelete.go | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/internal/api/client/admin/domainblockdelete.go b/internal/api/client/admin/domainblockdelete.go index aec1ba6df..6f3684418 100644 --- a/internal/api/client/admin/domainblockdelete.go +++ b/internal/api/client/admin/domainblockdelete.go @@ -33,41 +33,42 @@ import ( // // Delete domain block with the given ID. // -// --- -// tags: -// - admin +// --- +// tags: +// - admin // -// produces: -// - application/json +// produces: +// - application/json // -// parameters: -// - name: id -// type: string -// description: The id of the domain block. -// in: path -// required: true +// parameters: +// - +// name: id +// type: string +// description: The id of the domain block. +// in: path +// required: true // -// security: -// - OAuth2 Bearer: -// - admin +// security: +// - OAuth2 Bearer: +// - admin // -// responses: -// '200': -// description: The domain block that was just deleted. -// schema: -// "$ref": "#/definitions/domainBlock" -// '400': -// description: bad request -// '401': -// description: unauthorized -// '403': -// description: forbidden -// '404': -// description: not found -// '406': -// description: not acceptable -// '500': -// description: internal server error +// responses: +// '200': +// description: The domain block that was just deleted. +// schema: +// "$ref": "#/definitions/domainBlock" +// '400': +// description: bad request +// '401': +// description: unauthorized +// '403': +// description: forbidden +// '404': +// description: not found +// '406': +// description: not acceptable +// '500': +// description: internal server error func (m *Module) DomainBlockDELETEHandler(c *gin.Context) { authed, err := oauth.Authed(c, true, true, true, true) if err != nil { |