Add an existing user to the network with a role
POST/v1/networks/:networkId/members
Adds an already-existing user to the network with the given role (admin or viewer), creating an immediately active membership; this does not send an email (use the invitation endpoints to onboard someone by email). Requires the administrator role, and a caller may not grant a role higher than its own (403). Returns 400 if the user does not exist and 409 if they are already a member.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 409
Member added
Response Headers
Location
URL of the member
Missing user_id/role, invalid role, or unknown user
Missing or invalid API key
Cannot grant a role higher than your own
The requested resource was not found
User is already a member