Create Project User

POST /public/v1/projects/{projectId}/users

Headers

  • X-COMPANY-ID string Required

Path parameters

  • projectId integer(int64) Required
application/json

Body Required

  • user string
  • role string
  • disableNotification boolean

Responses

  • 500 */*

    Internal Server Error

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • id integer(int64)
    • user string
    • role string
POST /public/v1/projects/{projectId}/users
curl \
 --request POST 'https://live.smartpmtech.com/public/v1/projects/{projectId}/users' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --header "X-COMPANY-ID: string" \
 --data '{"user":"string","role":"string","disableNotification":true}'
Request examples
# Headers
X-COMPANY-ID: string

# Payload
{
  "user": "string",
  "role": "string",
  "disableNotification": true
}
Response examples (500)
{}
Response examples (200)
{
  "id": 42,
  "user": "string",
  "role": "string"
}