UnBan user

Documentation for using the OSSN API's POST method to reverse a ban status. Submit the target user ID and action parameters to immediately restore the specified user's access privileges on the OSSN platform.

Endpoint

Method:

  • POST / GET

Parameter:

Parameter name Required Type Explain
api_key_token Yes string Your API key
guid Yes integer User guid
Example Response
{
    "merchant": "Premium Social Network",
    "url": "http:\/\/local.openteknik.com\/",
    "time_token": 1632142039,
    "payload": {
        "success": "User successfully unbanned",
        "user": {
            "guid": 2,
            "first_name": "Dummy",
            "last_name": "User",
            "fullname": "Dummy User",
            "username": "usernamedummy",
            "email": "[email protected]",
            "birthdate": "29\/09\/2021",
            "gender": "male",
            "icon": {
                "topbar": "http:\/\/local.openteknik.com\/avatar\/usernamedummy\/topbar\/586c9a12b34dc2c33de72c902a33f611.jpeg",
                "smaller": "http:\/\/local.openteknik.com\/avatar\/usernamedummy\/smaller\/7c138887d671967998f175ee664faf50.jpeg",
                "small": "http:\/\/local.openteknik.com\/avatar\/usernamedummy\/small\/6788e00f7117cdc2d8a41218bb0d9f7c.jpeg",
                "larger": "http:\/\/local.openteknik.com\/avatar\/usernamedummy\/larger\/b03096f8d82fccfec52e48674c712628.jpeg",
                "large": "http:\/\/local.openteknik.com\/avatar\/usernamedummy\/large\/14a0258deefb5519ed4d813cb826b12b.jpeg"
            },
            "cover_url": false,
            "language": "en"
        }
    },
    "code": "100",
    "message": "Request successfully executed"
}

Return payload parameter description

Parameter name Explain
success If the user has been unbanned

Services View All