Regenerate an A2A channel API key. Returns the new plaintext key exactly once and invalidates the previous key.
POST /v1/apps/{app_id}/a2a-channels/{channel_id}/regenerate-key
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”App ID
A2A channel ID
Responses
Section titled “ Responses ”API key rotated. The api_key field is the new plaintext key returned exactly once; the previous key is invalidated immediately.
Output of [RegenerateA2aApiKeyCmd] — includes the newly generated
plaintext API key (returned once, never persisted) plus the updated
[AppChannel].
object
New plaintext API key. Persist this — it cannot be recovered later. The previous key is invalidated immediately.
The updated A2A channel.
object
Channel-specific configuration (validated per channel type).
Channel type (e.g. slack).
Timestamp when this channel was created.
Whether this channel is enabled.
External identifier (appchan_<32-hex>). Shown as “id” in API.
Example
appchan_01933b5a000070008000000000000001Timestamp when this channel was last updated.
Invalid app/channel ID or channel is not an A2A channel
Standard error response for API endpoints.
object
Error message describing what went wrong.
Unauthorized
Standard error response for API endpoints.
object
Error message describing what went wrong.
Forbidden
Standard error response for API endpoints.
object
Error message describing what went wrong.
App or A2A channel not found
Standard error response for API endpoints.
object
Error message describing what went wrong.