Skip to main content

Snyk/tenants

@webframp/snyk/tenantsv2026.07.20.1· 5d agoMODELS
01README

Snyk Tenants — tenant and organization lifecycle management

02Release Notes

2026.07.20.1

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

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

03Models1
snyk/tenants.tsv2026.07.20.1

Global Arguments

ArgumentTypeDescription
apiTokenstringSnyk API token
versionstringSnyk API version date
fn list_tenants(name?: string)
Get a list of all accessible Tenants
ArgumentTypeDescription
name?stringOnly return tenants whose name contains this value.
fn get_tenant(tenant_id: string)
Get a single Tenant by ID
ArgumentTypeDescription
tenant_idstringUnique identifier for tenant
fn update_tenant(tenant_id: string, data?: object)
Update tenant
ArgumentTypeDescription
tenant_idstringUnique identifier for tenant
data?object
fn get_broker_connection_integrations(tenant_id: string, connection_id: string)
Get Integrations using the current Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
connection_idstringConnection ID
fn create_broker_connection_integration(tenant_id: string, connection_id: string, org_id: string, data: unknown)
Creates Broker connection Integration Configuration
ArgumentTypeDescription
tenant_idstringTenant ID
connection_idstringConnection ID
org_idstringOrg ID
dataunknown
fn delete_broker_connection_integration(tenant_id: string, connection_id: string, org_id: string, integration_id: string)
Deletes an Integration for a Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
connection_idstringConnection ID
org_idstringOrg ID
integration_idstringIntegration ID
fn list_broker_deployments_for_tenant(tenant_id: string)
List Broker deployments for tenant
ArgumentTypeDescription
tenant_idstringTenant ID
fn list_connection_contexts(tenant_id: string, install_id: string, connection_id: string)
List Connection contexts
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
connection_idstringConnection ID
fn get_connection_context(tenant_id: string, install_id: string, context_id: string)
List Connection context
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
context_idstringContext ID
fn update_broker_context(tenant_id: string, install_id: string, context_id: string, data: object)
Updates Broker Context
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
context_idstringContext ID
dataobject
fn delete_broker_context(tenant_id: string, install_id: string, context_id: string)
Deletes broker context
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
context_idstringContext ID
fn update_broker_context_integration(tenant_id: string, install_id: string, context_id: string, data: object)
Updates an integration to be associated with a Broker context
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
context_idstringContext ID
dataobject
fn delete_broker_context_integration(tenant_id: string, install_id: string, context_id: string, integration_id: string)
Deletes the Broker context association with an Integration
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
context_idstringContext ID
integration_idstringIntegration ID
fn list_broker_deployments(tenant_id: string, install_id: string)
List Broker deployments
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
fn create_broker_deployment(tenant_id: string, install_id: string, data: object)
Creates Broker Deployment
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
dataobject
fn update_broker_deployment(tenant_id: string, install_id: string, deployment_id: string, data: unknown)
Updates Broker deployment
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
dataunknown
fn delete_broker_deployment(tenant_id: string, install_id: string, deployment_id: string)
Deletes Broker deployment
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
fn list_broker_connections(tenant_id: string, install_id: string, deployment_id: string)
List Broker connections
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
fn create_broker_connection(tenant_id: string, install_id: string, deployment_id: string, data: object)
Creates Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
dataobject
fn delete_broker_connections(tenant_id: string, install_id: string, deployment_id: string)
Deletes Broker connections
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
fn get_broker_connection(tenant_id: string, install_id: string, deployment_id: string, connection_id: string)
Get Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
connection_idstringConnection ID
fn update_broker_connection(tenant_id: string, install_id: string, deployment_id: string, connection_id: string, data: object)
Updates Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
connection_idstringConnection ID
dataobject
fn delete_broker_connection(tenant_id: string, install_id: string, deployment_id: string, connection_id: string)
Deletes Broker connection
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
connection_idstringConnection ID
fn list_broker_orgs_for_bulk_migration(connection_id: string, deployment_id: string, install_id: string, tenant_id: string)
List organizations for bulk migration
ArgumentTypeDescription
connection_idstringConnection ID
deployment_idstringDeployment ID
install_idstringInstall ID
tenant_idstringTenant ID
fn create_broker_orgs_for_bulk_migration(connection_id: string, deployment_id: string, install_id: string, tenant_id: string, data: object)
Performs bulk migration integrations to universal broker
ArgumentTypeDescription
connection_idstringConnection ID
deployment_idstringDeployment ID
install_idstringInstall ID
tenant_idstringTenant ID
dataobject
fn list_deployment_contexts(tenant_id: string, install_id: string, deployment_id: string)
List Deployment contexts
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
fn create_broker_context(tenant_id: string, install_id: string, deployment_id: string, data: object)
Create broker Context
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
dataobject
fn list_deployment_credentials(tenant_id: string, install_id: string, deployment_id: string)
List Deployment credentials
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
fn create_deployment_credential(tenant_id: string, install_id: string, deployment_id: string, data: object)
Create deployment credential
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
dataobject
fn get_deployment_credential(tenant_id: string, install_id: string, deployment_id: string, credential_id: string)
Get Deployment credential
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
credential_idstringCredential ID
fn update_deployment_credential(tenant_id: string, install_id: string, deployment_id: string, credential_id: string, data: unknown)
Updates Deployment credential
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
credential_idstringCredential ID
dataunknown
fn delete_deployment_credential(tenant_id: string, install_id: string, deployment_id: string, credential_id: string)
Deletes Deployment credential
ArgumentTypeDescription
tenant_idstringTenant ID
install_idstringInstall ID
deployment_idstringDeployment ID
credential_idstringCredential ID
fn list_assets_tenant(tenant_id: string, filter?: string, sort?: string, fields?: string, meta_count?: enum)
List or search all assets (synchronous) (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
filter?stringRSQL filter expression for filtering results. See schema for full documentation.
sort?stringComma-separated sort fields. Prefix with `-` for descending order. **Supporte...
fields?stringSparse fieldsets allow clients to request only specific fields for a given re...
meta_count?enumProvide summary count in the response meta object when requested. When `with`...
fn update_assets_bulk_tenant(tenant_id: string, data: array)
Bulk update asset attributes (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
dataarray
fn get_filter_fields_tenant(tenant_id: string, asset_types?: string)
Get available filter fields (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_types?stringComma-separated list of asset types to filter the available filter fields
fn get_filter_values_tenant(tenant_id: string, filter_id: string, q?: string, keys_only?: boolean, key?: string)
Get filter value suggestions (autocomplete) (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
filter_idstringThe UUID of the filter field to get values for (from the filter fields list e...
q?stringFull text search term to filter the list of values. If keys_only is true, thi...
keys_only?booleanReturn only the keys of the object filter values
key?stringReturn only the value for a specific key of the object filter values
fn get_group_fields_tenant(tenant_id: string, asset_types?: string)
Get available group fields (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_types?stringComma-separated list of asset types to filter the available group fields
fn get_group_values_tenant(tenant_id: string, group_field_id: string, asset_types?: string, filter?: string, sort?: string, meta_fields?: string, aggregate?: string)
Get group value aggregation (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
group_field_idstringThe UUID of the group field to get values for (from the group fields list end...
asset_types?stringComma-separated list of asset types to filter the aggregation
filter?stringRSQL filter expression for filtering which assets are included in aggregation...
sort?stringComma-separated sort fields for group values. Prefix with `-` for descending ...
meta_fields?stringMeta fields to include in the response. Multiple fields can be specified. Ava...
aggregate?stringPer-field aggregate function override for meta fields. All fields default to ...
fn create_asset_search_tenant(tenant_id: string, data?: object)
Create an asset search (asynchronous) (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
data?object
fn get_asset_search_results_tenant(tenant_id: string, search_id: string, sort?: string, fields?: string)
Retrieve asset search results (asynchronous) (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
search_idstringThe unique identifier of the search operation
sort?stringComma-separated sort fields. Prefix with `-` for descending order. **Supporte...
fields?stringSparse fieldsets allow clients to request only specific fields for a given re...
fn get_asset_tenant(tenant_id: string, asset_id: string, fields?: string)
Get a single asset by ID (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_idstringThe unique identifier of the asset
fields?stringSparse fieldsets allow clients to request only specific fields for a given re...
fn update_asset_tenant(tenant_id: string, asset_id: string, data: unknown)
Update asset attributes (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_idstringThe unique identifier of the asset
dataunknown
fn list_asset_projects_tenant(tenant_id: string, asset_id: string, canonical?: enum, target_id?: string, sort?: enum)
List projects for an asset (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_idstringThe unique identifier of the asset
canonical?enumFilter projects by canonical status. - `with`: Returns all projects (canonica...
target_id?stringFilter projects by target ID. When provided, returns only projects that belon...
sort?enumSort field with optional direction prefix. Prefix with `-` for descending ord...
fn list_asset_targets_tenant(tenant_id: string, asset_id: string)
List targets for an asset (Early Access)
ArgumentTypeDescription
tenant_idstringThe unique identifier of the tenant
asset_idstringThe unique identifier of the asset
fn get_tenant_memberships(tenant_id: string, sort_by?: enum, sort_order?: enum, email?: string, user_id?: string, name?: string, username?: string, connection_type?: string, role_name?: string)
Get all memberships of the tenant (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
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
name?stringFilter the response by Users that match the provided name
username?stringFilter the response by Users that match the provided username
connection_type?stringFilter the response by Users that match the provided connection type
role_name?stringFilter the response for results only with the specified role.
fn update_tenant_membership(tenant_id: string, membership_id: string, data: unknown)
Update tenant membership (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
membership_idstringUnique identifier of the tenant membership.
dataunknown
fn delete_tenant_membership(membership_id: string, tenant_id: string)
Delete an individual tenant membership for a single user. (Early Access)
ArgumentTypeDescription
membership_idstringUnique identifier of the tenant membership.
tenant_idstringUnique identifier of the tenant.
fn list_tenant_roles(tenant_id: string, name?: string, custom?: string, assignable_by_me?: string, expand_permissions?: boolean)
List all available roles for a given tenant (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
name?stringRole name filter.
custom?stringWhether role is custom or not.
assignable_by_me?stringWhen true, only return roles that the current user can assign to others in th...
expand_permissions?booleanoption to show all permission types
fn create_tenant_role(tenant_id: string, data: object)
Create a custom tenant role for a given tenant (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
dataobject
fn get_tenant_role(tenant_id: string, role_id: string, has_users_assigned?: boolean)
Return a specific role by its id and its tenant id. (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
role_idstringUnique identifier of the role.
has_users_assigned?booleanreturns current memberships of the role in the meta relationships section
fn update_tenant_role(tenant_id: string, role_id: string, force?: string, data?: object)
Update a specific tenant role by its id and its tenant id. (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
role_idstringUnique identifier of the role.
force?stringflag to force the update of a role, required if users are assigned to the role
data?object
fn delete_tenant_role(tenant_id: string, role_id: string)
Delete a specific tenant role by its id and its tenant id. (Early Access)
ArgumentTypeDescription
tenant_idstringUnique identifier of the tenant.
role_idstringUnique identifier of the role.
04Previous Versions1
2026.07.19.1

2026.07.19.1

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

05Stats
A
100 / 100
Downloads
0
Archive size
26.8 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