ServiceAccounts
Last updated
Was this helpful?
Last updated
Was this helpful?
Create a service account for an organization. The service account can be used to access the Snyk API.
/orgs/{org_id}/service_accounts
The ID of the Snyk Organization that is creating and will own the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Get all service accounts for an organization.
/orgs/{org_id}/service_accounts
The ID of the Snyk Organization that owns the service accounts.
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Update the name of an organization-level service account by its ID.
/orgs/{org_id}/service_accounts/{serviceaccount_id}
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Get an organization-level service account by its ID.
/orgs/{org_id}/service_accounts/{serviceaccount_id}
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Delete a service account in an organization.
/orgs/{org_id}/service_accounts/{serviceaccount_id}
The ID of org to which the service account belongs.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body
Manage the client secret of an organization service account by the service account ID.
/orgs/{org_id}/service_accounts/{serviceaccount_id}/secrets
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Create a service account for a group. The service account can be used to access the Snyk API.
/groups/{group_id}/service_accounts
The ID of the Snyk Group that is creating and owns the service account
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Get all service accounts for a group.
/groups/{group_id}/service_accounts
The ID of the Snyk Group that owns the service accounts.
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Number of results to return per page
10
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Update the name of a group's service account by its ID.
/groups/{group_id}/service_accounts/{serviceaccount_id}
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Get a group-level service account by its ID.
/groups/{group_id}/service_accounts/{serviceaccount_id}
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Permanently delete a group-level service account by its ID.
/groups/{group_id}/service_accounts/{serviceaccount_id}
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
No body
Manage the client secret of a group service account by the service account ID.
/groups/{group_id}/service_accounts/{serviceaccount_id}/secrets
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$