Operations 8
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
Ask an LLM
“Which organizations belong to my Snyk group?”
“Can I find an organization in a group by its name or slug?”
Tell an agent
List all organizations in group {group_id}.
Find organizations in group {group_id} named {name}.
Ask an LLM
“Which organizations do I have access to?”
“Can I list only my personal organizations?”
Tell an agent
List every organization I can access.
List my accessible organizations with slug {slug}.
Ask an LLM
“What are the full details of one of my organizations?”
“Can I expand related data when fetching a single organization?”
Tell an agent
Get the details of organization {org_id}.
Show organization {org_id} with {expand} expanded.
Ask an LLM
“How do I rename an organization?”
“Can I edit an organization's details through the API?”
Tell an agent
Update the details of organization {org_id}.
Rename organization {org_id} to our new team name.
GET
/orgs/{org_id}/memberships
List memberships in an organization · Get all memberships of the org
#
Ask an LLM
“Who belongs to my organization and with what role?”
“Can I search an org's members by username or email?”
Tell an agent
List all memberships of organization {org_id}.
Find org {org_id} members with email {email}.
POST
/orgs/{org_id}/memberships
Add a user to an organization with a role · Create a org membership for a user with role
#
Ask an LLM
“Can I add an existing user straight into an organization with a role, without an invite?”
“What do I send to create an org membership?”
Tell an agent
Add this user to organization {org_id} as a collaborator.
Create an org membership in {org_id} for a user and role.
DELETE
/orgs/{org_id}/memberships/{membership_id}
Remove a user's organization membership · Remove user's org membership
#
Ask an LLM
“Can I remove someone from my organization?”
“What revokes a user's access to one org?”
Tell an agent destructive · confirm first
Remove membership {membership_id} from organization {org_id}.
Delete org {org_id} membership {membership_id}.
PATCH
/orgs/{org_id}/memberships/{membership_id}
Change a user's role in an organization · Update a org membership for a user with role
#
Ask an LLM
“Can I change the role on an existing org membership?”
“How do I make an org collaborator an admin?”
Tell an agent
Update the role on membership {membership_id} in organization {org_id}.
Promote org {org_id} member {membership_id} to admin.
Documentation
Documentation
https://apidocs.snyk.io/?version=2024-10-15
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Orgs
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Projects
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Issues
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Targets
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Integrations
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Audit-Logs
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/SBOM
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Container-Images
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Custom-Base-Images
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Webhooks
Documentation
https://apidocs.snyk.io/?version=2024-10-15#tag/Issues-Export
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-create-org-membership-request-body20240825-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-org-attributes-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-update-org-membership-request-body20240825-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-org20230529-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-paginated-links-schema.json
JSONSchema
https://artifacts.apis.io/snyk/json-schema/snyk-org-membership-schema.json