{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"To create a new team within an organization, send a POST request to\n`/v2/organizations/team`.\n\nThis endpoint must be called in an organization context. Optionally include\n`invitations` to invite users to the new team. The `owner` role cannot be\nassigned via invitation.\n","properties":{"body":{"$ref":"#/definitions/create_team_request","examples":[{"name":"production"}]}},"required":["body"],"additionalProperties":false,"definitions":{"create_team_request":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The human-readable name for the team to create.","examples":["production"]},"invitations":{"type":"array","description":"Optional invitations to send when creating the team. Each invitation includes an email address and a role. The `owner` role cannot be assigned via invitation.\n","items":{"$ref":"#/definitions/team_invitation"},"examples":[[{"email":"member@example.com","role":"member"},{"email":"biller@example.com","role":"biller"}]]}}},"team_invitation":{"type":"object","description":"An invitation to join a newly created team.","required":["email","role"],"properties":{"email":{"type":"string","format":"email","description":"The email address of the user to invite.","examples":["member@example.com"]},"role":{"type":"string","enum":["member","biller","billing viewer","resource viewer","modifier"],"description":"The role to assign to the invited user. The `owner` role cannot be assigned via invitation.\n","examples":["member"]}}}}},"name":"Create a Team in an Organization","id":"digitalocean.organizations_create_team","example":{"body":{"name":"production"}},"maxRequests":1,"summary":false}}