Add Team Member
Add an existing user to a team with a specific role.Endpoint
Headers
Bearer token for authentication
Path Parameters
Team UUID
Request Body
UUID of the user to add to the team
Role to assign to the user. Must be one of:
team-member- Can view and edit team resourcesteam-view-only- Read-only access to team resourcesteam-manager- Full permissions to manage team
Response
Team user relationship UUID
User UUID
Team UUID
Assigned role
ISO 8601 timestamp when user was added
Example Request
Example Response
Team Roles
team-manager
Full permissions including:
- Manage team settings
- Add/remove team members
- Create/edit/delete team websites
- View all team analytics
team-member
Standard permissions including:
- View team websites and analytics
- Edit team websites
- Cannot manage team members or settings
team-view-only
Read-only permissions:
- View team websites and analytics
- Cannot edit anything
Error Responses
Bad Request - User is already a member of the team
Unauthorized - You must be the owner/manager of this team
Not Found - Team or user does not exist
Permissions
Only team owners and managers can add new members to the team.The user must already exist in the Umami system. You cannot create new user accounts through this endpoint.