ServiceAccounts
Create a service account for an organization. The service account can be used to access the Snyk API.
Required permissions
Create service accounts (org.service_account.create)
The ID of the Snyk Organization that is creating and will own the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
View service accounts (org.service_account.read)
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
Example: 10
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
Edit service accounts (org.service_account.edit)
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
View service accounts (org.service_account.read)
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
Remove service accounts (org.service_account.delete)
The ID of org to which the service account belongs.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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 content
Manage the client secret of an organization service account by the service account ID.
Required permissions
Edit service accounts (org.service_account.edit)
The ID of the Snyk Organization that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
Create service accounts (group.service_account.create)
The ID of the Snyk Group that is creating and owns the service account
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
View service accounts (group.service_account.read)
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
Example: 10
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
Edit service accounts (group.service_account.edit)
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
View service accounts (group.service_account.read)
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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.
Required permissions
Delete service accounts (group.service_account.delete)
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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 content
Manage the client secret of a group service account by the service account ID.
Required permissions
Edit service accounts (group.service_account.edit)
The ID of the Snyk Group that owns the service account.
The ID of the service account.
Requested API version
2021-06-04
Pattern: ^(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))?))$
Last updated
Was this helpful?