Publisher Account

Publisher Account - Update Name

Rename an API-key account. Only account_name is mutable from this surface — cpc_share and rate_limit_tier are contract terms and must go through admin. Scope-checked: 404 for another org's account.

patch/publisher/v1/api-keys/{id}

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/publisher/v1/api-keys/{id}
  • Auth: none declared

Path parameters

idinteger required

Request body

account_namestring

Response

Updated account.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

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.