Path parameters
- 
    
  The project's unique document ID. 
- 
    
  The project's person unique document ID, i.e. project.people[].person._id.
      
  
    
  
        Body
      
    Required
 
    
  
  - 
    
  Determines the person's permissions within the project. A membercan do basic work on the project, amanagerhas additional control over the project, like managing basic settings, project duration, people rates, etc. and anadminhas full control over the project. Theobservercan view everything, but not change anything.Values are member,manager,admin, orobserver.
- 
    
  Reference to an org role, i.e. org.roles[]._id
- 
    
  The title of the role. E.g. Director of Sales 
- 
    
  The person's email in the project. 
- 
    
  If true, this person can act as a project manager. A project manager can assign resources to roles, approve leave requests, etc. Default value is false.
- 
    
  The person's charge rate. Minimum value is 0.
- 
    
  The person's charge rate time. Values are oneTime,recurring,hourly,daily,weekly,monthly, oryearly.
curl \
 --request PATCH 'https://open.api.missionx.ai/v2/projects/{projectId}/people/{personId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"permission":"member","person":{"firstName":"string","lastName":"string","avatar":"string","city":"string","country":"string","state":"string","timezone":"string"},"role":"string","roleTitle":"string","email":"hello@example.com","isProjectManager":false,"rate":42.0,"rateTime":"oneTime"}'{
  "permission": "member",
  "person": {
    "firstName": "string",
    "lastName": "string",
    "avatar": "string",
    "city": "string",
    "country": "string",
    "state": "string",
    "timezone": "string"
  },
  "role": "string",
  "roleTitle": "string",
  "email": "hello@example.com",
  "isProjectManager": false,
  "rate": 42.0,
  "rateTime": "oneTime"
}{
  "_id": "string",
  "permission": "member",
  "person": {
    "_id": "string",
    "firstName": "string",
    "lastName": "string",
    "avatar": "string",
    "city": "string",
    "country": "string",
    "state": "string",
    "timezone": "string"
  },
  "role": "string",
  "roleTitle": "string",
  "email": "hello@example.com",
  "isProjectManager": false,
  "rate": 42.0,
  "rateTime": "oneTime",
  "invitePendingSince": 42.0,
  "praise": 42.0
}{
  "message": "string",
  "code": "string",
  "data": {}
}{
  "message": "string",
  "code": "string",
  "data": {}
}