Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Position Management → Update Position Conditions
AI-generatedSummary
Update the conditions of an Aave V4 user position
Inputs
- chainId — Choose from the list, or specify an ID using an expression
- pmUserPositionId (required) — The user position ID to update
- pmUpdateType — The type of update to perform (e.g., update all dynamic configuration or just the risk premium)
Output shape
An object indicating the result of the update, typically containing a success status and possibly the updated position configuration
Success returns a response object; errors raise exceptions
Examples
Example 1: Update risk premium for a specific position on Ethereum
chainId: 'mainnet', pmUserPositionId: '12345', pmUpdateType: 'JUST_RISK_PREMIUM'
Example 2: Modify all dynamic configuration for a position on Polygon
chainId: 'polygon', pmUserPositionId: '67890', pmUpdateType: 'ALL_DYNAMIC_CONFIG'