Create User Project Membership
Creates a membership for a user in a specified project
and assigns the user the appropriate project access based on the specified project security role.
A project member is a user who has access to a specific project.
Project members are assigned a project security role, which controls the level of access they have to
the project.
Possible project security roles include manage, edit, collaborate, creator, and guest.
Path parameters
projectId
Reference to Project
userId
Reference to User
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-integration-name
The name of the calling system passed along as a header parameter
Request
The permission to set
role
Role to apply
Response
Success
error
If the API call failed, this will contain information about the error that occurred.
success
True if the API call succeeded; false otherwise.
hasError
True if the API call failed.
statusCode
The HTTP code of the response.
data
A ProjectMember is a user who can collaborate on a Project. You can control
permissions for what each ProjectMember can do and how they can interact with
the Project using this model.