Provider

Provider - Update

Partial update — config fields only. Accepts any subset of: name, feed_url, capture_node, username, password, refresh_minutes, schema_mapping, click_id_param, job_partner_id, fetch_method, fetch_config, fetch_credentials. To toggle pause/resume/active-state, use the dedicated action endpoints.

fetch_config REPLACES the stored object wholesale — send the complete config, not a partial patch. When fetch_method is present the config is validated against the new method; when it is absent the CURRENT stored method is used, so you can PATCH config alone without restating the method.

Send fetch_credentials: null to CLEAR stored credentials (the correct move after switching a provider to credential_source: "instance"). Omitting the field leaves them untouched.

patch/admin/v1/providers/{id}

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/providers/{id}
  • Auth: none declared

Path parameters

idinteger required

Response

Updated provider (detail shape).

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

{
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.