Users API

Create a user with an identity provider ID

POST /api/v1/products/:product_id/users

product_id *

Numeric ID or key of the product

first_name *

First name of the user to be created

last_name *

Last name of the user to be created

email *

Email of the user to be created

role *

Permissions of the user to be created in the product one of: product_owner, contributor, reviewer, viewer, none


The ID of the identity provider that will be used for this user. Not required if user will use a password.

Example request

POST /api/v1/products/PRJ1/users

Example CURL command

curl "" -d '{"user":{"email":"","first_name":"sam","last_name":"doe","role":"product_owner","identity_provider_id":483954339}}' -X POST \
	-H "Content-Type: application/json" \
	-H "Accept: application/json" \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76"


contentType: application/json
accept: application/json
authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76

Request body


Status: 200 OK
contentType: application/json; charset=utf-8

Response body