Skip to main content
Add a user to a project or update their project role
curl --request POST \
  --url https://api.ionworks.com/projects/{project_id}/members \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "<string>",
  "project_role_id": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Path Parameters

project_id
string
required

Body

application/json
user_id
string
required

ID of the user whose project role to set.

project_role_id
string
required

ID of the project role to assign.

Response

Successful Response