eject

From SmartBots Developers Docs
Simple Groups API
Revision as of 15:10, 14 October 2019 by Gg (Talk | contribs) (Gg moved page HTTP API/Simple Groups/eject to Simple Groups API/eject)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Ejects residents from the group.

Variables

The following table shows input values (you send them with the API call) and returned output values.

Variable Required Description
Input base:
action yes = eject
apikey yes Your personal developer's API key.
secret yes Security code of the group you are using.
secret_sha1 optional The same as "secret" but hashed using SHA1 (useful if you don't want to keep plain customer's passwords)
Input:
group yes the group name (must be listed with SmartBots!)
slkey yes the UUID of the resident
message optional the optional message to send along with invitation (can't contain international characters)
Output (plain text returned):
OK command completed successfully
anything else Request failed, the fail reason is returned

Important

If you are using a custom role (other than "Everyone") you need an additional abilities for your bot. Read this for details.

<< return back to group commands