curl --request POST \
--url '/v1/portfolio/port_abc123/resubmit-signature' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: your_api_key_here' \
--data '{
"signature": "0xYourSignatureFromWallet",
"signatureAction": {
"reason": "portfolio-resign",
"type": "personal_sign",
"message": "I authorize Glider to manage my portfolio\n\n0x8ad4d95c3c3d0a1e87bfdb1d2401905db4a97d8e05e77d69e5d79397da128b81"
}
}'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"userAddress": "0xYourWalletAddress",
"message": "Portfolio signature resubmitted successfully",
"updatedAt": "2023-05-21T13:45:12.345Z",
"vaults": [
{
"chainId": 8453,
"address": "0xPortfolioVaultAddress"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Submit a new signature for an existing portfolio
curl --request POST \
--url '/v1/portfolio/port_abc123/resubmit-signature' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: your_api_key_here' \
--data '{
"signature": "0xYourSignatureFromWallet",
"signatureAction": {
"reason": "portfolio-resign",
"type": "personal_sign",
"message": "I authorize Glider to manage my portfolio\n\n0x8ad4d95c3c3d0a1e87bfdb1d2401905db4a97d8e05e77d69e5d79397da128b81"
}
}'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"userAddress": "0xYourWalletAddress",
"message": "Portfolio signature resubmitted successfully",
"updatedAt": "2023-05-21T13:45:12.345Z",
"vaults": [
{
"chainId": 8453,
"address": "0xPortfolioVaultAddress"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
curl --request POST \
--url '/v1/portfolio/port_abc123/resubmit-signature' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: your_api_key_here' \
--data '{
"signature": "0xYourSignatureFromWallet",
"signatureAction": {
"reason": "portfolio-resign",
"type": "personal_sign",
"message": "I authorize Glider to manage my portfolio\n\n0x8ad4d95c3c3d0a1e87bfdb1d2401905db4a97d8e05e77d69e5d79397da128b81"
}
}'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"userAddress": "0xYourWalletAddress",
"message": "Portfolio signature resubmitted successfully",
"updatedAt": "2023-05-21T13:45:12.345Z",
"vaults": [
{
"chainId": 8453,
"address": "0xPortfolioVaultAddress"
}
]
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}