Set Security Group on a Restricted User's Account

/groups/set

Full Url

https://apiv1.teleapi.net/rusers/groups/set

Arguments

  • token (string, required)
  • ruser_id (int, required)
  • enabled (yes | no, required)

Info

Add or remove a permission group from a restricted user. Passing in enabled=yes will add that group, passing in enabled=no will disabled it

Example Success

{
    "code": 200,
    "status": "success",
    "data": "success"
}

Example Error

{
    "code": 400,
    "status": "error",
    "data": "Invalid user id"
}

results matching ""

    No results matching ""