Skip to main content

Vercel/organizations

@swamp/vercel/organizationsv2026.10.23.1· AGPL-3.0-or-later· 3d agoBEHAVIORS
01README

Vercel organizations infrastructure models

02Release Notes
  • Updated: organizations
  • Updated: teams
03Behaviors2
@swamp/vercel/organizations/organizationsv2026.10.23.1organizations.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
avatar?stringThe hash value of an uploaded image, or `null` to clear the organization avatar. Omit to leave it unchanged.
name?stringThe desired name for the organization. Generated from the slug if not provided.
resourceSlug?stringThe desired slug for the organization.
token?stringVercel API token; overrides the VERCEL_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Organizations
fn get(id: string)
Get a Organizations
ArgumentTypeDescription
idstringThe ID of the Organizations
fn lookup(allowMissing?: boolean)
Look up an existing Organizations by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed and record found: false in lookupResult when nothing matches, instead of failing
fn adopt(id: string)
Import an existing Organizations by ID into state for management
ArgumentTypeDescription
idstringThe ID of the Organizations to import
fn update(identifier?: string)
Update Organizations attributes
ArgumentTypeDescription
identifier?stringTarget a specific Organizations by organizationId (e.g. one discovered by list)
fn sync(identifier?: string)
Sync Organizations state from Vercel
ArgumentTypeDescription
identifier?stringTarget a specific Organizations by organizationId (e.g. one discovered by list)

Resources

state(infinite)— Organizations resource state
lookupResult(infinite)— Outcome of the most recent lookup
@swamp/vercel/organizations/teamsv2026.10.23.1teams.ts

Global Arguments

ArgumentTypeDescription
teamId?stringVercel team ID
slug?stringVercel team slug (alternative to teamId)
organizationIdstringThe ID of the organization.
mode?enumWhether to create a new team under the organization (\\"create\\") or link an existing one (\\"link\\").
resourceTeamId?stringThe ID of an existing team to add to the organization (link mode).
resourceSlug?stringThe slug of an existing team to link, or the slug for a new team to create.
name?stringThe display name for a new team. Required in create mode; rejected in link mode.
billingPlan?enum
token?stringVercel API token; overrides the VERCEL_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
fn create()
Create a Teams
fn lookup(allowMissing?: boolean)
Look up an existing Teams by matching global argument values and import it into state
ArgumentTypeDescription
allowMissing?booleanSucceed and record found: false in lookupResult when nothing matches, instead of failing
fn delete(id: string)
Delete the Teams
ArgumentTypeDescription
idstringThe ID of the Teams

Resources

state(infinite)— Teams resource state
lookupResult(infinite)— Outcome of the most recent lookup
04Previous Versions4
2026.10.21.1AGPL-3.0-or-later
  • Updated: organizations
2026.10.20.2AGPL-3.0-or-later
  • Updated: organizations
  • Updated: teams

Modified 2 behaviors

2026.10.20.1AGPL-3.0-or-later
  • Updated: teams
2026.10.17.1AGPL-3.0-or-later
  • Added: organizations
  • Added: teams
05Stats
A
100 / 100
Downloads
6
Archive size
11.2 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels