Snyk Service Accounts API

The Service Accounts API from Snyk — 6 operation(s) for service accounts.

Business capability
Identity & Access Management BC-620.20

Operations 12

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/{group_id}/service_accounts List a group's service accounts · Get a list of group service accounts #
Ask an LLM
“Which service accounts exist at the group level in Snyk?”
“Can I page through all the service accounts my group owns?”
Tell an agent
List the service accounts in group {group_id}.
Show the first {limit} group service accounts for group {group_id}.
POST /groups/{group_id}/service_accounts Create a group-level service account · Create a service account for a group #
Ask an LLM
“How do I create a service account that can call the Snyk API for a whole group?”
“Can a service account be scoped to a group instead of one organization?”
Tell an agent
Create a service account for group {group_id}.
Set up a new group-level API service account in group {group_id} for our CI pipeline.
DELETE /groups/{group_id}/service_accounts/{serviceaccount_id} Permanently delete a group service account · Delete a group service account #
Ask an LLM
“Can I permanently remove a service account from my group?”
“Is deleting a group-level service account reversible?”
Tell an agent destructive · confirm first
Delete service account {serviceaccount_id} from group {group_id}.
Permanently remove group {group_id}'s service account {serviceaccount_id}.
GET /groups/{group_id}/service_accounts/{serviceaccount_id} Get a group service account by ID · Get a group service account #
Ask an LLM
“Can I look up the details of one group-level service account?”
“What does a single group service account record show?”
Tell an agent
Get service account {serviceaccount_id} in group {group_id}.
Show the details of group {group_id}'s service account {serviceaccount_id}.
PATCH /groups/{group_id}/service_accounts/{serviceaccount_id} Rename a group service account · Update a group service account #
Ask an LLM
“Can I rename a service account that belongs to my group?”
“What can I change on an existing group-level service account?”
Tell an agent
Rename service account {serviceaccount_id} in group {group_id}.
Change the name of group {group_id}'s service account {serviceaccount_id} to something clearer.
POST /groups/{group_id}/service_accounts/{serviceaccount_id}/secrets Manage a group service account's client secret · Manage a group service account's client secret #
Ask an LLM
“Can I manage the client secret of a group service account through the API?”
“Where do I rotate the OAuth client secret for a group-level service account?”
Tell an agent
Manage the client secret for service account {serviceaccount_id} in group {group_id}.
Rotate group {group_id} service account {serviceaccount_id}'s client secret.
GET /orgs/{org_id}/service_accounts List an organization's service accounts · Get a list of organization service accounts #
Ask an LLM
“Which service accounts have been created in my organization?”
“Can I paginate through an org's service accounts?”
Tell an agent
List the service accounts in organization {org_id}.
Show the first {limit} service accounts in org {org_id}.
POST /orgs/{org_id}/service_accounts Create an organization service account · Create a service account for an organization #
Ask an LLM
“Can I create a service account for just one Snyk organization?”
“What do I need to create an org-level service account for API access?”
Tell an agent
Create a service account for organization {org_id}.
Set up a new org-level API service account in org {org_id} for automation.
DELETE /orgs/{org_id}/service_accounts/{serviceaccount_id} Delete an organization service account · Delete a service account in an organization #
Ask an LLM
“Can I remove a service account from my organization when it's no longer used?”
“What happens to API access when an org service account is deleted?”
Tell an agent destructive · confirm first
Delete service account {serviceaccount_id} from organization {org_id}.
Remove org {org_id}'s service account {serviceaccount_id}.
GET /orgs/{org_id}/service_accounts/{serviceaccount_id} Get an organization service account by ID · Get an organization service account #
Ask an LLM
“Can I view one service account in my organization by its ID?”
“What details are returned for a single org-level service account?”
Tell an agent
Get service account {serviceaccount_id} in organization {org_id}.
Show org {org_id}'s service account {serviceaccount_id}.
PATCH /orgs/{org_id}/service_accounts/{serviceaccount_id} Rename an organization service account · Update an organization service account #
Ask an LLM
“Can I rename a service account in my organization?”
“Is the name the only thing I can edit on an org service account?”
Tell an agent
Rename service account {serviceaccount_id} in organization {org_id}.
Give org {org_id}'s service account {serviceaccount_id} a new name.
POST /orgs/{org_id}/service_accounts/{serviceaccount_id}/secrets Manage an org service account's client secret · Manage an organization service account's client secret #
Ask an LLM
“Can I manage an organization service account's client secret via API?”
“Where do I rotate the client secret on an org-level service account?”
Tell an agent
Manage the client secret for service account {serviceaccount_id} in organization {org_id}.
Rotate org {org_id} service account {serviceaccount_id}'s client secret.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-links-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-access-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-json-api-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-paginated-links-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-image-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-image-target-ref-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-self-link-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-pat-tenant-id-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-personal-access-token-created-at-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-personal-access-token-label-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-personal-access-token-expires-at-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/snyk/refs/heads/main/json-schema/snyk-service-account-schema.json

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-service-accounts-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-service-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Snyk Service Accounts API
  version: REST
servers:
- description: Snyk REST API
  url: https://api.snyk.io/rest
security:
- APIToken: []
- BearerAuth: []
tags:


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