/account

Document • By Codrut Software • Last modified 09 April 2026

The bolded name is provided in the request JSON object as the "mode" value.

https://api.codrutsoft.com/account


Methods

  • username-taken - Returns in taken if the username provided in username is used for an account.
  • email-taken - Returns in taken if the email provided in email is used for an account.
  • get-info - Returns in value the account value asked in the string info.
  • get-info - Returns in values the account values asked in the array of string values.
  • put-info - Writes account information of name info, with the value of value.
  • put-info - Writes account information provided in the object changes.
  • logout-all - Logs all sessions out. Requires PERM_MANAGE_ACCOUNT
  • logout-session - Logs out the session of serviceid with the index sessionindex. Requires PERM_MANAGE_ACCOUNT
  • get-sessions - Returns in the array sessions all active login sessions, and also returns the session used to make the request in contactsession. Requires PERM_MANAGE_ACCOUNT