v1
latestOpenAPI 3.0.12026-08-041753011.2 MBProject
Update project memberships
patch/v1/workspaces/{workspaceId}/projects/{projectId}/memberships
Path parameters
workspaceIdstring required
Represents a workspace identifier across the system.
Example:64a687e29ae1f428e7ebe303
Represents a workspace identifier across the system.
projectIdstring required
Represents a project identifier across the system.
Example:5b641568b07987035750505e
Represents a project identifier across the system.
Request body
Example request
{
"memberships": [
{
"costRate": {
"amount": 20000,
"since": "2020-01-01T00:00:00Z"
},
"hourlyRate": {
"amount": 20000,
"since": "2020-01-01T00:00:00Z"
},
"userId": "12t687e29ae1f428e7ebe202"
}
],
"userGroups": {
"contains": "CONTAINS",
"ids": [
"5b715612b079875110791111",
"5b715612b079875110791222"
],
"status": "ALL"
}
}Response
OK
Example response
{
"budgetEstimate": {
"estimate": 600000,
"resetOption": "WEEKLY",
"type": "AUTO"
},
"clientId": "9t641568b07987035750704",
"clientName": "Client X",
"color": "#000000",
"costRate": {
"amount": 10500,
"currency": "USD"
},
"duration": "60000",
"estimate": {
"estimate": "PT1H30M",
"type": "AUTO"
},
"hourlyRate": {
"amount": 10500,
"currency": "USD"
},
"id": "5b641568b07987035750505e",
"memberships": [
{
"costRate": {
"amount": 10500,
"currency": "USD"
},
"hourlyRate": {
"amount": 10500,
"currency": "USD"
},
"membershipStatus": "PENDING",
"membershipType": "PROJECT",
"targetId": "64c777ddd3fcab07cfbb210c",
"userId": "5a0ab5acb07987125438b60f"
}
],
"name": "Software Development",
"note": "This is a sample note for the project.",
"timeEstimate": {
"estimate": "60000",
"resetOption": "WEEKLY",
"type": "AUTO"
},
"workspaceId": "64a687e29ae1f428e7ebe303"
}