Skip to main content

Snyk/memberships

@webframp/snyk/membershipsv2026.09.08.1· 2d agoMODELS
01README

Snyk Memberships — group and org member management

02Release Notes

2026.09.08.1

Added: Initial code-generated release of @webframp/snyk/memberships with 8 methods covering the Snyk memberships API surface.

03Models1
@webframp/snyk/membershipsv2026.09.08.1snyk/memberships.ts

Global Arguments

ArgumentTypeDescription
apiTokenstringSnyk API token
orgIdstringSnyk organization ID
versionstringSnyk API version date
fn list_group_memberships(group_id: string, sort_by?: enum, sort_order?: enum, email?: string, user_id?: string, username?: string, role_name?: string, include_group_membership_count?: boolean)
Get all memberships of the group
ArgumentTypeDescription
group_idstringThe ID of the group
sort_by?enumWhich column to sort by.
sort_order?enumOrder in which results are returned.
email?stringFilter the response by Users that match the provided email
user_id?stringFilter the response by Users that match the provided user ID
username?stringFilter the response by Users that match the provided username
role_name?stringFilter the response for results only with the specified role.
include_group_membership_count?booleanindicates whether the count of group memberships is included
fn create_group_membership(group_id: string, data?: object)
Create a group membership for a user with role
ArgumentTypeDescription
group_idstringThe ID of the group
data?object
fn update_group_user_membership(group_id: string, membership_id: string, data?: unknown)
Update a role from a group membership
ArgumentTypeDescription
group_idstringThe ID of the group
membership_idstringThe ID of the Group Membership
data?unknown
fn delete_group_membership(group_id: string, membership_id: string, cascade?: boolean)
Delete a membership from a group
ArgumentTypeDescription
group_idstringThe ID of the group
membership_idstringThe ID of the Group Membership
cascade?booleanindicates whether to delete the child org memberships of the group membership.
fn list_org_memberships(sort_by?: enum, sort_order?: enum, email?: string, user_id?: string, username?: string, role_name?: string)
Get all memberships of the org
ArgumentTypeDescription
sort_by?enumWhich column to sort by.
sort_order?enumOrder in which results are returned.
email?stringFilter the response by Users that match the provided email
user_id?stringFilter the response by Users that match the provided user ID
username?stringFilter the response by Users that match the provided username
role_name?stringFilter the response for results only with the specified role.
fn create_org_membership(data: object)
Create a org membership for a user with role
ArgumentTypeDescription
dataobject
fn update_org_membership(membership_id: string, data: unknown)
Update a org membership for a user with role
ArgumentTypeDescription
membership_idstringThe id of the org membership
dataunknown
fn delete_org_membership(membership_id: string)
Remove user's org membership
ArgumentTypeDescription
membership_idstringThe id of the org membership

Resources

group_memberships(infinite)— Get all memberships of the group
group_membership(infinite)— Create a group membership for a user with role
group_user_membership(infinite)— Update a role from a group membership
org_memberships(infinite)— Get all memberships of the org
org_membership(infinite)— Create a org membership for a user with role
04Previous Versions8
2026.08.28.2

2026.08.28.2

Hardened codegen: instance names sanitized against path traversal; 429 rate-limit retry with Retry-After; string schema patterns emit regex validation; output schemas passthrough unknown fields.

updated labels

2026.08.28.1

2026.08.28.1

Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.

Upgrade note: License text only. No API, schema, or runtime behavior changed.

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.26.2

2026.08.26.2

Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry quality scorer can resolve dependencies and score the extension. An earlier release used a bare "zod" import-map specifier, which published but scored as unscored.

Changed: Retained explicit compilerOptions.strict in deno.json. No behavioral or schema changes.

2026.08.25.1

2026.08.25.1

Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.

updated labels

2026.08.24.1

2026.08.24.1

Added: Output metadata attributes for observability.

  • durationMs: Method execution duration in milliseconds.
  • collectedBy: Extension name that produced the data.
  • fetchedAt: ISO 8601 timestamp when data was fetched (added to resources that previously lacked it).
2026.08.21.1

2026.08.21.1

Changed: group_id and membership_id now must be non-empty strings — previously an empty value passed schema validation and only failed deep inside the Snyk API call with a generic 404. Errors from the Snyk API now name the HTTP method and path that was attempted instead of just the bare status and body. Network-level failures (DNS, connection refused, TLS errors) reaching the Snyk API are now also caught and reported with the operation and path that was being attempted, rather than surfacing as an unhandled fetch exception.

2026.07.20.1

2026.07.20.1

Fixed: Group-scoped methods (paths under /groups/{group_id}/...) dropped their group_id path parameter. The generated code referenced args.group_id, but the argument was never declared or forwarded, so requests went to /groups/undefined/... and returned HTTP 404. These methods now declare and forward group_id correctly.

Upgrade note: Group-scoped methods now take a required group_id argument. Calls that previously failed with a 404 succeed once group_id is supplied.

2026.07.19.1

2026.07.19.1

Added: Initial code-generated release of @webframp/snyk/memberships with 8 methods covering the Snyk memberships API surface.

05Stats
A
100 / 100
Downloads
0
Archive size
15.9 KB
  • 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
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels