Skip to main content
POST
/
users
/
invite
Invite user
curl --request POST \
  --url https://productlane.com/api/v1/users/invite \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com",
  "name": "<string>",
  "role": "ADMIN"
}
'
{}

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string<email>
required
Maximum string length: 254
name
string
required
role
enum<string>
required
Available options:
ADMIN,
USER,
VIEWER

Response

Successful response

The response is of type object.