Add a member by email (preferred) or raw user_id
Requires team_admin.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
team_id*stringSuccess
curl -X POST 'http://localhost:7091/api/teams/string/members'Share a resource with this team, or change an existing grant's level POST
Needs `share` on the resource (the owner, or an editor when the owner turned on `editors_can_share`) and membership of the team. The grant records the real owner as `owner_id` and the caller as `granted_by`. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Transfer team ownership POST
Owner-only (global admin overrides). The new owner must already be a member; they are promoted to team_admin. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.