Invite a team member (admin)

POST/api/v1/accounts/invite

Parameters

This endpoint does not accept parameters.

Responses

201Invitation sent

Request

curl -X POST "https://api.knowledgetree.dev/api/v1/accounts/invite" \
  -H "Authorization: Bearer $KT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "email": "colleague@acme.com", "role": "editor" }'

Response

201Invitation sent
Example response not yet documented.