regenerateBotSecret

Regenerate a webhook bot's secret, invalidating the previous one. Returns the new secret so the caller can update their webhook handler.

Arguments

    botId
    Int!
    Required
    Unique identifier of the bot to issue a new secret for.

Returns

    String!
    Required
    Regenerate a webhook bot's secret, invalidating the previous one. Returns the new secret so the caller can update their webhook handler.
Built with