Create an member

Invite a new member to join the organization. This endpoint allows organization owners and administrators to send invitations to potential members with specified roles and permissions. The invited member will receive notification of the invitation.

POST

Parameters

Path Parameters

OrganizationId
REQUIRED
Unique identifier of the organization

Body

application/json
Email
REQUIRED
Role_name
REQUIRED
Status codeDescription
200Successfully created resource with its unique identifier
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L -X POST \
"https://blockv-labs.io/organizations/{organizationId}/members" \
-H 'Accept: application/json'
Response
{
"id": "string"
}
json
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the created resource"
}
}
}