Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 5.87 KB

readaccessgroupresponsebody.md

File metadata and controls

41 lines (36 loc) · 5.87 KB

ReadAccessGroupResponseBody

Example Usage

import { ReadAccessGroupResponseBody } from "@vercel/sdk/models/readaccessgroupop.js";

let value: ReadAccessGroupResponseBody = {
  isDsyncManaged: false,
  name: "my-access-group",
  createdAt: "1588720733602",
  teamId: "team_123a6c5209bc3778245d011443644c8d27dc2c50",
  updatedAt: "1588720733602",
  accessGroupId: "ag_123a6c5209bc3778245d011443644c8d27dc2c50",
  membersCount: 5,
  projectsCount: 2,
  teamRoles: [
    "DEVELOPER",
    "BILLING",
  ],
  teamPermissions: [
    "CreateProject",
  ],
};

Fields

Field Type Required Description Example
entitlements models.ReadAccessGroupEntitlements[] N/A
isDsyncManaged boolean ✔️ N/A
name string ✔️ The name of this access group. my-access-group
createdAt string ✔️ Timestamp in milliseconds when the access group was created. 1588720733602
teamId string ✔️ ID of the team that this access group belongs to. team_123a6c5209bc3778245d011443644c8d27dc2c50
updatedAt string ✔️ Timestamp in milliseconds when the access group was last updated. 1588720733602
accessGroupId string ✔️ ID of the access group. ag_123a6c5209bc3778245d011443644c8d27dc2c50
membersCount number ✔️ Number of members in the access group. 5
projectsCount number ✔️ Number of projects in the access group. 2
teamRoles string[] Roles that the team has in the access group. [
"DEVELOPER",
"BILLING"
]
teamPermissions string[] Permissions that the team has in the access group. [
"CreateProject"
]