Javascript
import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ serverURL: "https://api.example.com", }); async function run() { const result = await avaCloudSDK.webhooks.generateOrRotateSharedSecret(); console.log(result); } run();
{ "secret": "<string>" }
Generates a new shared secret or rotate an existing one.
Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.
Successful response
The response is of type object.
object
Was this page helpful?