List Recovery Topics

PUT /profiles/restore/topics/{username}

Returns a list of available Hedera topics that can be used to restore the user's profile data asynchronously.

Authentication: Bearer token required (Authorization: Bearer <token>)

Permission: Permissions.PROFILES_RESTORE_ALL


Request

Path Parameters

Parameter
Type
Required
Description

username

string

Yes

The username of the user

Request Body

{
  "hederaAccountId": "0.0.4532001",
  "hederaAccountKey": "302e020100300506032b657004220420..."
}
Field
Type
Required
Description

hederaAccountId

string

Yes

The Hedera account ID

hederaAccountKey

string

Yes

The Hedera account private key


Response

Success Response

Status: 202 Accepted

Poll GET /tasks/{taskId} to retrieve the list of available recovery topics.

Error Responses

Status
Description

401 Unauthorized

Missing or invalid token

403 Forbidden

Insufficient permissions

500 Internal Server Error

Unexpected server failure

Was this helpful?