Shotstash
API referenceGraphQL referenceObjects

AdminActionResult

Result of an admin action on a user account.

Result of an admin action on a user account.

Fields

  1. AdminActionResult
success*Boolean!

True when the action succeeded.

message?String

Human-readable message, null when none.

password?String

A generated password, returned once when adminSetPassword made one; null otherwise.

errorCode?String

Stable failure code (USER_NOT_FOUND, CANNOT_TARGET_SELF, SUPER_ADMIN_PROTECTED, USER_HAS_ACTIVITY, PASSWORD_TOO_SHORT, PASSWORD_TOO_LONG, INTERNAL); null on success.

uploads?Int

USER_HAS_ACTIVITY only: uploads that block the delete.

shareLinks?Int

USER_HAS_ACTIVITY only: share links that block the delete.

chats?Int

USER_HAS_ACTIVITY only: chat messages that block the delete.