admin_delete_user_controller

package
v0.0.0-...-2dc4e31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminDeleteUser

func AdminDeleteUser(c *gin.Context)

AdminDeleteUser @Summary Delete User (You will need send a JWT token of a admin user, you can get it in the login route) @Description Delete user by e-mail or id @Tags admin @Produce json @Security Bearer @Param find path string true "Search parameter: e-mail or id" @Param Authorization header string true "JWT Token" default(Bearer <token>) @Success 200 {object} nil @Failure 422 {object} utils_interfaces.ErrorResponse @Failure 404 {object} utils_interfaces.ErrorResponse @Failure 401 {object} utils_interfaces.ErrorResponse @Router /admin/user/{find} [delete]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL