Snyk Groups API

The Groups API from Snyk — 7 operation(s) for groups.

Business capability
Identity & Access Management BC-620.20

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /groups List the groups I belong to · Get all groups (Early Access) #
Ask an LLM
“Which Snyk groups am I a member of?”
“Can I page through all my groups?”
Tell an agent
List the groups I'm a member of.
Show the first {limit} of my groups.
GET /groups/{group_id}/memberships List memberships in a group · Get all memberships of the group #
Ask an LLM
“Who are the members of my group and what roles do they have?”
“Can I find a group member by email or role?”
Tell an agent
List all memberships of group {group_id}.
Find group {group_id} memberships for email {email}.
POST /groups/{group_id}/memberships Add a user to a group with a role · Create a group membership for a user with role #
Ask an LLM
“How do I add a user to a group with a specific role?”
“Can I grant someone group membership through the API?”
Tell an agent
Add this user to group {group_id} with the admin role.
Create a group membership in group {group_id} for a user and role.
DELETE /groups/{group_id}/memberships/{membership_id} Remove a membership from a group · Delete a membership from a group #
Ask an LLM
“Can I remove a user's membership from a group?”
“Does removing a group membership also cascade to their org memberships?”
Tell an agent destructive · confirm first
Delete membership {membership_id} from group {group_id}.
Remove membership {membership_id} from group {group_id} with cascade set to {cascade}.
PATCH /groups/{group_id}/memberships/{membership_id} Change a user's role in a group membership · Update a role from a group membership #
Ask an LLM
“Can I change the role on someone's existing group membership?”
“What's the way to promote a group member to a different role?”
Tell an agent
Update the role on membership {membership_id} in group {group_id}.
Change group {group_id} membership {membership_id} to the viewer role.
GET /groups/{group_id}/org_memberships List a group user's org memberships · Get list of org memberships of a group user #
Ask an LLM
“Which organizations in my group does a particular user belong to?”
“Can I filter a user's org memberships in a group by org name or role?”
Tell an agent
List the org memberships of user {user_id} in group {group_id}.
Show user {user_id}'s org memberships in group {group_id} for orgs named {org_name}.
GET /groups/{group_id}/sso_connections List a group's SSO connections · Get all SSO connections for a group (Early Access) #
Ask an LLM
“Which SSO connections are configured for my group?”
“Can I see the single sign-on setups tied to a group?”
Tell an agent
List the SSO connections for group {group_id}.
Show group {group_id}'s single sign-on connections.
GET /groups/{group_id}/sso_connections/{sso_id}/users List users signing in through an SSO connection · Get all users using a given SSO connection (Early Access) #
Ask an LLM
“Which users log in through a specific SSO connection?”
“Can I page through everyone using one of my group's SSO connections?”
Tell an agent
List users of SSO connection {sso_id} in group {group_id}.
Show the first {limit} users on group {group_id} SSO connection {sso_id}.
DELETE /groups/{group_id}/sso_connections/{sso_id}/users/{user_id} Remove a user from a group SSO connection · Delete a user from a Group SSO connection (Early Access) #
Ask an LLM
“Can I delete a user from one of my group's SSO connections?”
“What permissions are needed to remove an SSO user from a group?”
Tell an agent destructive · confirm first
Delete user {user_id} from SSO connection {sso_id} in group {group_id}.
Remove SSO user {user_id} from group {group_id} connection {sso_id}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/snyk:snyk-groups-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

snyk-groups-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snyk Groups API
  version: REST
servers:
- description: Snyk REST API
  url: https://api.snyk.io/rest
security:
- APIToken: []
- BearerAuth: []
tags:


# --- truncated at 32 KB (52 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/openapi/snyk-groups-api-openapi.yml