Skip to main content
POST
Invite user to tenant

Authorizations

Authorization
string
header
required

Authentication

Body

application/json
roles
string[]
required

Roles for invited user

Minimum array length: 1
Example:

"extractor-user"

url
string
required

Invitation url, that will be added to invitation email

Minimum string length: 1
Pattern: ^https?.*
Example:

"https://app.extractor.dev.extractor.live/invite"

tenantId
integer<int64>

ID of the tenant

organisationId
integer<int64>

ID of the organisation

email
string

Email for which this Invite was generated

Example:

"user@example.com"

Response

200 - application/json

OK

email
string
required

Email for which this Invite was generated

roles
string[]
required

Roles for invited user

Minimum array length: 1
id
integer<int64>

Unique identifier of the entity

Example:

1

createdAt
integer<int64>

Time when entity was created

updatedAt
integer<int64>

Time when entity was updated

tenantId
integer<int64>

ID of the tenant

organisationId
integer<int64>

ID of the organisation

expiredAt
integer<int64>

Time when this invite will be expired