We're having lots of fun on Discord! Come and join us! 💬
Docs

Memberships List Object

Properties

Name Type Description
sum integer

Total number of items available on the server.

memberships membership[]

List of memberships.

Examples

JSON

{
    "sum": 5,
    "memberships": {
        "$id": "5e5ea5c16897e",
        "userId": "5e5ea5c16897e",
        "teamId": "5e5ea5c16897e",
        "name": "VIP",
        "email": "john@appwrite.io",
        "invited": 1592981250,
        "joined": 1592981250,
        "confirm": false,
        "roles": [
            "admin"
        ]
    }
}