Skip to Content
Docs

Change who may take the team's items outside: ``admins``, ``editors`` or ``locked``

PUT
/api/teams/{team_id}/outside_policy

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.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

team_id*string

Response Body

Success

Example Request
curl -X PUT 'http://localhost:7091/api/teams/string/outside_policy'
Example Response200
Empty