Share Groups
A ShareGroup is a way for you to store and name groups of email contacts to be used for sending share and inbox invitations.
List Share Groups
SDK Method
sharegroup.List()
Return Object
[]*ShareGroup
Authorization Requirement
Available to all authenticated keys or sessions.
ShareGroupListParams Fields
| Field | Description |
|---|---|
| UserId int64 | User ID. Provide a value of 0 to operate the current session's user. |
Additional Arguments
Show Share Group
SDK Method
sharegroup.Find()
Return Object
ShareGroup
Authorization Requirement
Available to all authenticated keys or sessions.
ShareGroupFindParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Share Group ID. |
Create Share Group
SDK Method
sharegroup.Create()
Return Object
ShareGroup
Authorization Requirement
Available to all authenticated keys or sessions.
ShareGroupCreateParams Fields
| Field | Description |
|---|---|
| UserId int64 | User ID. Provide a value of 0 to operate the current session's user. |
| Notes string | Additional notes of the share group |
| Name string Required | Name of the share group |
| Members array(object) Required | A list of share group members. |
Update Share Group
SDK Method
sharegroup.Update()
Return Object
ShareGroup
Authorization Requirement
Available to all authenticated keys or sessions.
ShareGroupUpdateParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Share Group ID. |
| Notes string | Additional notes of the share group |
| Name string | Name of the share group |
| Members array(object) | A list of share group members. |
Delete Share Group
SDK Method
sharegroup.Delete()
Return Object
No return value.
Authorization Requirement
Available to all authenticated keys or sessions.
ShareGroupDeleteParams Fields
| Field | Description |
|---|---|
| Id int64 Required | Share Group ID. |
The ShareGroup Object
Some of the methods above return a ShareGroup object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| Id int64 | Share Group ID |
| Name string | Name of the share group |
| Notes string | Additional notes of the share group |
| UserId int64 | Owner User ID |
| Members array(object) | A list of share group members |