users
Set Active Team Endpoint
Changed onSwitch the caller's active team.
Args: request: Target team payload. auth: Authenticated caller. service: User service.
Returns: Activated team.
Raises: HTTPException: If membership is revoked.
post/v1/users/me/active-team
Request
- Base URLhttps://api.pioneer.ai (the document declares no server; this is the origin it was published from)
- Auth
- API key in header X-API-Key
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info