Skip to main content
POST
Create an organization member
Required API key permission: Write Organization

Authorizations

Authorization
string
header
required

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

Path Parameters

organization_id
integer
required

ID of the organization.

Body

application/json
name
string
required

First name of the new member.

surname
string
required

Surname of the new member.

email
string
required

Email address of the new member.

organization_member_permissions
object
required

Object mapping an organization member permission name to a boolean; the only permission is admin. Send an empty object for a regular member.

user_permissions
object

Object mapping a user permission name to a boolean; defaults to an empty object.

memberships
object[]

Tenants to add the new member to, with the role in each; at least one is required.

send_welcome_email
boolean
default:true

Whether to send a welcome email to the new member; defaults to true.

Response

Success

member
object