Change who may take the team's items outside: ``admins``, ``editors`` or ``locked``
Admins and the Owner while it isn't locked; once locked only the Owner (403
policy_owner_only for an Admin), and an instance admin gets no way in (404 outside the
team; ownership is transferred instead). The team row is locked for the change. A change is
audited as team.outside_policy_changed; the same policy again answers changed: false.
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 PUT 'http://localhost:7091/api/teams/string/outside_policy'Change a member's role PUT
Requires an Admin or the Owner. Body: `role`: `viewer`, `editor` or `admin` (`team_member` / `team_admin` still work). `owner` is 400: only the ownership transfer changes the Owner. The owner can't be demoted and the last admin can't step down (`change_membership`). Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Update team name/description PUT
Requires team_admin. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.