updateSharePairStatus

open suspend fun updateSharePairStatus(type: PortalMpcShareType, status: PortalMpcShareStatus, sharePairIds: List<String>): Boolean


open suspend fun updateSharePairStatus(type: PortalMpcShareType, status: PortalMpcShareStatus, sharePairIds: List<String>, traceId: String?): Boolean

Updates the status of a share pair (either signing or backup).

Return

true if the operation was successful.

Parameters

type

The type of the share pair (SIGNING or BACKUP).

status

The new status to be set for the share pair.

sharePairIds

The list of share pair IDs to update.

traceId

Optional trace ID forwarded as the X-Portal-Trace-Id header. When null, a new UUID is generated for this request.

Throws

on a backend HTTP 400 response. Wrap the call in try/catch — the throw escapes uncaught.