Add a user to the project


PUT /api/project/:projectId/users/:userId

Add a user to the project.

Endpoint URL

https://<space_id>.repsona.com/api/project/:projectId/users/:userId

Authorization

Owner Admin

Path parameters

NameTypeDescription
projectId*stringProject ID
userId*stringUser ID

Example responses

{
  "requestedBy": 1,
  "project": {
    "users": [
      {
        "createdAt": 1672498800000,
        "updatedAt": 1672498800000,
        "id": 1746,
        "name": "Reon",
        "fullName": "Reon Walls",
        "avatarUrl": "/dummy/avatar1.png",
        "billingStatus": "active",
        "extra": {},
        "space": 1,
        "language": 2,
        "timeZone": 100
      }
    ],
    "createdAt": 1672498800000,
    "updatedAt": 1672498800000,
    "id": 1746,
    "name": "next-prj",
    "fullName": "Next Standard",
    "purpose": "",
    "avatarUrl": "/dummy/project-icon4.png",
    "productImageUrl": "",
    "sortOrder": 0,
    "free": false,
    "isClosed": false,
    "isPublic": false,
    "extra": null,
    "space": 1
  }
}

Human-centered, best team!

Repsona is an ideal work management tool for your team
Get started for free