interface Team {
    description: string;
    name: string;
    sys: MetaSysProps & {
        memberCount: number;
        organization: {
            sys: MetaLinkProps;
        };
    };
    delete(): Promise<void>;
    toPlainObject(): TeamProps;
    update(): Promise<Team>;
}

Hierarchy (view full)

Properties

description: string

Description of the team

name: string

Name of the team

sys: MetaSysProps & {
    memberCount: number;
    organization: {
        sys: MetaLinkProps;
    };
}

System metadata

Methods

  • Deletes this object on the server.

    Returns Promise<void>

    Promise for the deletion. It contains no data, but the Promise error case should be handled.

  • Sends an update to the server with any changes made to the object's properties

    Returns Promise<Team>

    Object returned from the server with updated changes.