Skip to main content
POST
/
v1
/
projects
/
{project_id}
/
users
Add user to project
curl --request POST \
  --url https://{tenant}.torchapp.com.au/api/v1/projects/{project_id}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "user_id": "architecto",
  "access_level": "guest"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

project_id
integer
required

The ID of the project.

Body

application/json
user_id
string
required
Example:

"architecto"

access_level
enum<string>
required
Available options:
administrator,
user,
guest
Example:

"guest"

Response

User added

The response is of type object.