# User

# Get All Users

# Resource URL

https://humtog.com/api/admin/users

# Resource Method

GET

# Example Response

{
    "data": [
        {
            "id": 4,
            "username": "someAnotherUser",
            "name": "Some User",
            "bio": null,
            "avatar": "/imgs/default-avatar.png",
            "verified_email": false,
            "cover_color": "Dark",
            "created_at": "2020-05-22 18:40:49",
            "info": {
                "location": null,
                "twitter": null,
                "website": null
            }
        },
        ...
    ],
    "links": {
        "first": "https://humtog.com/api/admin/users?page=1",
        "last": null,
        "prev": null,
        "next": null
    },
    "meta": {
        "current_page": 1,
        "from": 1,
        "path": "https://humtog.com/api/admin/users",
        "per_page": 90,
        "to": 4
    }
}

# Delete User

# Resource URL

https://humtog.com/api/admin/users

# Resource Method

DELETE

# Params

Name Required Type Description
password Yes string Current Password
user_id Yes integer Id of the user to delete

# Example Response

{
    "message": "Account deleted successfully."
}