Skip to main content
POST
Reset bot secret
Required scopes: agents-bot--my: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 ID.

owner_client_id
string

The Client ID that owns the bot. Required only when authorizing via Personal Access Tokens. When provided with a Bearer Token, the client_id associated with the Bearer Token will be ignored.

Response

200 - application/json

Bot secret reset successfully.

secret
string

The new bot secret.