Publisher Account
Publisher Account - Regenerate Key
Rotates key material IN PLACE on the same publisher_account row. The account (name, cpc_share, rate_limit_tier, historical click attribution) is preserved; only the key's prefix / hash / hint change. Old key stops authenticating IMMEDIATELY. Plaintext returned EXACTLY ONCE — unrecoverable after this response, same policy as admin issuance.
post/publisher/v1/api-keys/{id}/regenerate
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/publisher/v1/api-keys/{id}/regenerate
- Auth: none declared
Path parameters
idinteger required
Response
Rotated. data.api_key_plaintext is returned exactly once.
Example response
{
"data": {
"api_key_prefix": "juju_pub_XY",
"api_key_hint": "abcd",
"cpc_share": "0.7000",
"rate_limit_tier": "default",
"min_payout": "0.1000"
},
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.