Add a user
  • 29 Sep 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Add a user

  • Dark
    Light

POST/teams

Adds a user to project


Parameter Type Description
api_token string REST API key you can get it from Settings > Advanced > API tokens.

Body Parameters

Parameters highlighted in bold are mandatory

Parameter Type Description
email_id string Email address of the new user
user_role enumerated 1 - Administrator, 2 - Editor, 3 - DraftWriter, 4 - Reader, 7 - Owner
user_id string The ID of the user that will be marked as an inviter
is_sso_user boolean Specify if user is Single Sign-On user or not
skip_sso_invitation_email boolean If set to true, the invitation email will not be sent to the user. Applicable only for a SSO user.

Sample Request

{
	"email_id": "danny.brown@document360.io",
	"user_role" : "7",
	"user_id":"5ae331f74e60146b233558c6",
    "is_sso_user": true
}

Response

Status
200 OK

Was this article helpful?

What's Next