User List

From INAP Dropzone API
Jump to: navigation, search

The user list command will return a list of all the sub accounts that have been added on the LEAP account.

Contents

Path

  • /user/list/{$userid}

Method

Required Data Parameters

  • None

Optional Data Parameters

  • {$userid}: The user ID that is returned when using the list command.

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
  [data] => Array(
    [0] => stdClass Object(
      [id] => The LEAP user ID
      [username] => The sub accounts username.
      [first] => First name of the sub account user.
      [last] => Last name of the sub account user.
      [email] => Email address of the sub account user.
      [phone] => Phone number of the sub account user.
      [description] => Description of the sub account user.
      [type] => secondary
      [permissions] => stdClass Object(
        [billing] => Permissions for access the billing module (none,all).
        [server] => Permissions for access the server module (none,all).
        [solution] => Permissions for access the solution module (none,all).
        [support] => Permissions for access the support module (none,all).
        [user] => Permissions for access the user module (none,all).
        [tandem] => Permissions for access the tandem module (none,all).
        [servers] => An object containing a list of all the servers the sub account can access.
      )
    )
  )
)
Personal tools