Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 513 Bytes

REMOVE_ADMIN_USER.md

File metadata and controls

27 lines (21 loc) · 513 Bytes

Remove Admin User

{% method %}

This API allows the administrator of the system to revoke the administrator's permission of another user in the system.

DELETE /api/admin/user/:userid

{% sample lang="http" %} Usage

$ curl -v -X DELETE https://insight.io/api/admin/user/userpass@[email protected]?token=833808b68d2ebfd8e4db5aaf59085851f756a3f0f9d528b4063f831b8fe9755a

{% common %} Response

HTTP/1.1 200 OK
{
  "message" : "User: userpass@[email protected] removed as admin"
}

{% endmethod %}