Adds a new member to a project
POST
/api/v1/Project/members
Sample request:
POST /api/v1/Project/members
{
"project_id": "123e4567-e89b-12d3-a456-426614174000",
"workspace_member_id": "123e4567-e89b-12d3-a456-426614174001",
"access_level": "Member"
}
Required permissions:
- Project Owner access level, or
- Admin access
Authorizations
Request Body
Project member details
object
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
object
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
object
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
object
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
Responses
201
Member successfully added to project
object
id
string format: uuid
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
workspaceMember
object
id
string format: uuid
workspaceId
string format: uuid
userId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
object
id
string format: uuid
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
workspaceMember
object
id
string format: uuid
workspaceId
string format: uuid
userId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
object
id
string format: uuid
projectId
string format: uuid
workspaceMemberId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
workspaceMember
object
id
string format: uuid
workspaceId
string format: uuid
userId
string format: uuid
accessLevel
integer format: int32
createdDate
string format: date-time
400
Invalid member data or user ID is null
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
403
Insufficient permissions to add members
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
404
Project or workspace member not found
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties
object
type
string
title
string
status
integer format: int32
detail
string
instance
string
key
additional properties