Set issue status to resolve from sdk

Hello
Is it possible to set group of issues (same fingerprint) status to resolve from sdk?
My case:
I communicate with the external api and get socketTimout 3 times - so I create 3 events in Sentry, to group them on the dashboard, I set the appropriate fingerprint. And when api starts working, I would like to close these issues (whole groupe wiht the same fingerpring) or set their status to resolved (from SDK).

Thank you