Organizations (v1)
Last updated
Last updated
More information
Snyk privacy policy© 2024 Snyk Limited | All product and company names and logos are trademarks of their respective owners.
View Organization
Remove Organization
The organization ID. The API_KEY
must have permission to delete the provided organization. Currently this operation is only supported for organizations without any projects.
"4a18d42f-0706-4ad0-b127-24078731fbed"
Manage member's roles in your organization
View Organization
View Users
User Remove
The organization ID. The API_KEY
must admin have access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The user ID we want to remove.
"4a18d42f-0706-4ad0-b127-24078731fbed"
Manage member's roles in your organization
Manage Users
The organization ID. The API_KEY
must have admin access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The user ID.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The new role of the user, "admin" or "collaborator".
Update member's role in your organization by role publicId
Manage Users
The organization ID. The API_KEY
must have admin access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The user ID.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The new role public ID to update the user to.
This endpoint allows Snyk Admins to provision user access to Snyk Orgs prior to the user login to the Snyk platform, and does not send out invitation emails to the Snyk platform. When the provisioned user logs into Snyk for the first time, the user will automatically be granted the appropriate Snyk org access and role permissions specified in the API call. This endpoint can be called multiple times to provision a user to multiple Snyk orgs. The API token used requires Org Admin permisisons, and must be part of a Snyk group with a valid SSO connection. Service accounts are restricted from invoking this API. As this endpoint can only be used to provision new users, if a user has already logged into Snyk, this endpoint will not work to provision user access
Provision User
The organization ID.
"25065eb1-109c-4c3e-9503-68fc56ef6f44"
Deletion succeeded.
Invite users to the organization by email
View Organization
View Users
Invite Users
The organization ID. The API_KEY
must have admin access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The email of the user.
(optional) Set the role as admin.
View Organization
The organization ID. The API_KEY
must have access to this organization.
"25065eb1-109c-4c3e-9503-68fc56ef6f44"
Settings that are not provided will not be modified.
View Organization
Edit Organization
The organization ID. The API_KEY
must have admin access to this organization.
"25065eb1-109c-4c3e-9503-68fc56ef6f44"
"+ Attributes (Org settings request)"
Manage members in your organization
View Organization
View Users
The organization ID.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The id of the user.
The name of the user.
The username of the user.
The email of the user.
The role of the user in the organization.
This endpoint allows Snyk Admins to provision user access to Snyk Orgs prior to the user login to the Snyk platform, and does not send out invitation emails to the Snyk platform. When the provisioned user logs into Snyk for the first time, the user will automatically be granted the appropriate Snyk org access and role permissions specified in the API call. This endpoint can be called multiple times to provision a user to multiple Snyk orgs. The API token used requires Org Admin permisisons, and must be part of a Snyk group with a valid SSO connection. Service accounts are restricted from invoking this API. As this endpoint can only be used to provision new users, if a user has already logged into Snyk, this endpoint will not work to provision user access
Provision User
The organization ID. The API_KEY
must not exceed the permissions being granted to the provisioned user.
"25065eb1-109c-4c3e-9503-68fc56ef6f44"
"+ Attributes (object)\n + email (string, required) - The email of the user.\n + rolePublicId (string) - ID of the role to grant this user.\n + role (string) - Deprecated. Name of the role to grant this user. Must be one of `ADMIN`, `COLLABORATOR`, or `RESTRICTED_COLLABORATOR`. This field is invalid if `rolePublicId` is supplied with the request."
The email of the user.
Name of the role granted for this user.
ID of the role to granted for this user.
Timestamp of when this provision record was created.
This endpoint allows Snyk Admins to provision user access to Snyk Orgs prior to the user login to the Snyk platform, and does not send out invitation emails to the Snyk platform. When the provisioned user logs into Snyk for the first time, the user will automatically be granted the appropriate Snyk org access and role permissions specified in the API call. This endpoint can be called multiple times to provision a user to multiple Snyk orgs. The API token used requires Org Admin permisisons, and must be part of a Snyk group with a valid SSO connection. Service accounts are restricted from invoking this API. As this endpoint can only be used to provision new users, if a user has already logged into Snyk, this endpoint will not work to provision user access
Provision User
The organization ID.
"25065eb1-109c-4c3e-9503-68fc56ef6f44"
The email of the user.
Name of the role granted for this user.
ID of the role to granted for this user.
Timestamp of when this provision record was created.
Each request to Snyk has to be done in the context of a Snyk organization. If no organization is specified, the user's default organization (user is identified according to the API_KEY
) will be used.
The organization determines the access rights, licenses policy and is the unit of billing for private projects.
An organization should be given as a query parameter named org
, with the public identifier given to this org. The list of organizations and their corresponding public ids can be found with the organization resource
View Organization
Manage the default settings for organization notifications. These will be used as defaults, but can be re-defined by organization members
View Organization
The organization ID. The API_KEY
must have access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
Manage the default settings for organization notifications. These will be used as defaults, but can be re-defined by organization members
View Organization
Edit Organization
The organization ID. The API_KEY
must have access to this organization.
"4a18d42f-0706-4ad0-b127-24078731fbed"
An organization can be created as part of a group, or independently. If the groupId is not provided, a Personal Org will be created independent of a group.
The name of the new organization
"new-org"
The group ID. The API_KEY
must have access to this group.
"4a18d42f-0706-4ad0-b127-24078731fbed"
The id of an organization to copy settings from.
If provided, this organization must be associated with the same group.
The items that will be copied are: Source control integrations (GitHub, GitLab, BitBucket) + Container registries integrations (ACR, Docker Hub, ECR, GCR) + Container orchestrators integrations (Kubernetes) + PaaS and Serverless Integrations (Heroku, AWS Lambda) + Notification integrations (Slack, Jira) + Policies + Ignore settings + Language settings + Infrastructure as Code settings + Snyk Code settings
The following will not be copied across: Service accounts + Members + Projects + Notification preferences
"6b4a3261-b68f-43a0-9218-1f082e77f879"