Skip to main content
POST
/
account
/
migration
/
dismiss-orders
Dismiss pending migration restorations
curl --request POST \
  --url https://api.context.markets/v2/account/migration/dismiss-orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "success": true,
  "dismissedCount": 123
}

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Body

application/json
address
string

Optional wallet address override for SDK/API flows. When omitted, the server uses the authenticated API account wallet.

Pattern: ^0x[a-fA-F0-9]{40}$
Example:

"0x1111111111111111111111111111111111111111"

authorization
object

Required when address overrides the authenticated API account wallet. The requested wallet must sign the public migration authorization message.

legacyOrderIds
integer[]
Required range: x > 0

Response

Pending restorations dismissed

success
enum<boolean>
required
Available options:
true
dismissedCount
integer
required