Updating a topic

Update a topic with a different memo that is more suitable for your use case.

Update a topic

PUT https://hedera-serverless-consensus.vercel.app/api/consensus/topic/:id

This endpoint allows you to update the memo of the topic, only from the original creator of the topic.

Path Parameters

NameTypeDescription

id

string

The id of the topic.

Query Parameters

NameTypeDescription

memo

string

The memo that you want to update the topic id to.

Headers

NameTypeDescription

Authentication

string

The API_SECRET_KEY from the client environment variables.

{
    "data": {
        "memo": "Updated memo",
        "topic_id": "16091",
        "accountId": {
            "shard": 0,
            "realm": 0,
            "account": 1156
        },
        "validStart": {
            "seconds": 1598827049,
            "nanos": 719000000
        }
    }
}

Last updated