v1

latestSwagger 2.0Apache 2.02026-07-17311564.3 KB
admin

Ban/Unban a user based on his id and the action provided.

Ban/unban a user based on his user id. This operation can only be done by admins

post/api/admin/users/:action/:id

Query parameters

actionstring required

Action to perform ban/unban

idstring required

Id of user

Response

OK

namestring
statusstring
updated_atstring

Example response

{
  "name": "Web Challenge",
  "status": "deployed",
  "updated_at": "2018-12-31T22:20:08.948096189+05:30"
}