Organization Project Member

Invite a user to the project by email with a role. If the user has no Roark account yet, an invite email is sent and the membership is INVITED until they accept; existing users are added directly. Use this for onboarding and for assigning users to projects.

post/v1/org/project/{projectId}/member

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/org/project/{projectId}/member
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Request body

emailstring email required

Email address to invite

role'OWNER' | 'ADMIN' | 'MEMBER' | 'VIEWER' required

Project role to grant

Example request

{
  "email": "jane@seek.com"
}

Response

The created membership

Changes