Team Members
Manage team membership.
Table of Contents
add
Add user to team
API Information
Endpoint: POST /api/StoredProcedure/CreateTeamMembership
Authentication: Required (token-based with Rediacc-RequestToken header)
Details
Grants a user membership in a team, giving them access to all team resources including machines, repositories, and storages.
Parameters
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
team | string | Yes | - | Team name | dev-team |
newUserEmail | string | Yes | - |
Examples
rediacc team-member add dev-team [email protected]
Add John to development team
rediacc team-member add production [email protected]
Add admin to production team
Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc team-member add --team <value>
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/CreateTeamMembership" \
-H "Content-Type: application/json" \
-H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
-d '{
"team": "dev-team",
"newUserEmail": "example-new_user_email"
}'
Notes
User must exist and be activated. You must be a team member to add others. Changes take effect immediately.
Business Rules
- Requires team admin or company admin permissions
- User must already have an account in the company
- User must have activated their account
- Cannot add users from other companies
- Users can be members of multiple teams
- Team role determines permissions within that team only
- Adding as Admin grants full control over team resources
- Member role provides read and basic write access
- Operation is logged in audit trail
- Triggers notification email to the added user
Success Message
Successfully added {email} to team {team}
remove
Remove user from team
API Information
Endpoint: POST /api/StoredProcedure/DeleteUserFromTeam
Authentication: Required (token-based with Rediacc-RequestToken header)
Details
Revokes a user’s team membership, removing their access to all team resources. The user remains in the company.
Parameters
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
team | string | Yes | - | Team name | dev-team |
removeUserEmail | string | Yes | - |
Examples
rediacc team-member remove dev-team [email protected]
Remove contractor with confirmation
rediacc team-member remove production [email protected] --force
Force remove without confirmation
Auto-Generated CLI Examples
# Basic usage (required parameters only)
rediacc team-member remove --team <value>
Auto-Generated cURL Examples
# Using token authentication
curl -X POST "https://www.rediacc.com/api/StoredProcedure/DeleteUserFromTeam" \
-H "Content-Type: application/json" \
-H "Rediacc-RequestToken: YOUR_TOKEN_HERE" \
-d '{
"team": "dev-team",
"removeUserEmail": "example-remove_user_email"
}'
Notes
Cannot remove last team member. User loses access immediately. Consider impact on active work.
Business Rules
- Requires team admin or company admin permissions
- Cannot remove the last admin from a team
- User immediately loses access to all team resources
- Active sessions for team resources are terminated
- Does not delete the user account from the company
- User can be re-added to the team later if needed
- Removal is logged in audit trail
- Any running operations by the user continue to completion
- User’s personal data and contributions are preserved
- Triggers notification email to the removed user
Success Message
Successfully removed {email} from team {team}
Confirmation Required
This operation requires confirmation: Are you sure you want to remove '{email}' from team '{team}'?