Skip to main content
POST
Reset bot template secret
Required scopes: bots.templates:rw

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
id
string
required

The bot template ID.

owner_client_id
string
required

The Client ID that owns the bot template. Must be owned by your organization.

affect_existing_installations
boolean

If set to true: the new secret is set for all existing bots based on this template.

Response

200 - application/json

Bot template secret reset successfully.

secret
string

The new bot secret.