Datasources

Update datasource credentials

Changed on

Updates the Authentication credential fields for a datasource as defined in the provider schema. Re-runs the connectivity test before saving. If any linked Digitize services cannot be notified, the datasource is still updated and the failures are listed in propagation_errors.

put/datasources/{id}

Request

  • Base URL
    https://localhost:8080/api/v1
  • Auth
    API key in header Authorization

Path parameters

idstring required

Datasource ID (UUID)

Request body

paramsobject required

Params holds the credential fields to update. Only fields in the provider's schema whose ui:section is "Authentication" may be changed; structural fields are filtered out server-side. Note: binding:"required" only prevents null/missing — an empty map is rejected in the service layer, which also validates that at least one updatable field is present.

Response

Datasource updated

created_atstring
created_bystring
idstring
messagestring
namestring
providerstring
statusstring
typestring
updated_atstring

Changes