Unshare a resource from this team
Allowed with share on the resource — no membership needed, so an
owner who left the team can still pull their resource back — or for a
team_admin of this team. target_user_id picks one member's grant
(absent → the whole-team grant). Identifiers come from query params
(some proxies strip DELETE bodies), with a JSON-body fallback.
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 DELETE 'http://localhost:7091/api/teams/string/grants'Change a wiki's settings (owner only, manage_settings) PUT
Change a wiki's settings (owner only, manage_settings). Body: {"allow_outside_edits": bool}: whether runs from an agent's API key or widget may edit the wiki. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Remove a member DELETE
team_admin removes anyone; a member may remove self (leave). Guards the last admin. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.