Add user to Organization

Description

Add a user to the organization based on their email address.

Request

POST /v1/organizations/:organizationId/add-user-by-email
{
  email: string
}

Response

Response Status codes:

  • 204 on success

Request headers

This request must have the following headers:

  • Authorization: bearer <ApiKey>
  • Content-Type: application/json

Example

Request

curl -XPOST "https://api.cloud.nabto.com/v1/organizations/:organizationId/add-user-by-email" \
  -H "Authorization: Bearer <ApiKey>" \
  -H "Content-Type: application/json" \
  -d '{ email: "foo@bar.baz"}'

Response

Returns response Code: 204