Request body schema in Snyk REST API

The Snyk REST API endpoint Invite a user to an organization shows the REQUEST BODY SCHEMA OBJECT as follows:

{ 
  email*: string 
  role*: uuid 
}

email is the invitee email address. role is the role public ID that will be granted to an invitee on acceptance.

The variable type for both email and role is a string. The role is a string with the format of uuid. The Snyk REST API uses these formats; thus the role is defined with the string format.

Last updated

More information

Snyk privacy policy

© 2023 Snyk Limited | All product and company names and logos are trademarks of their respective owners.