diff --git a/pkg/api/datasources.go b/pkg/api/datasources.go index 4e00c36f656..f2d72c12312 100644 --- a/pkg/api/datasources.go +++ b/pkg/api/datasources.go @@ -492,6 +492,7 @@ func (hs *HTTPServer) UpdateDataSourceByID(c *contextmodel.ReqContext) response. // 200: createOrUpdateDatasourceResponse // 401: unauthorisedError // 403: forbiddenError +// 409: conflictError // 500: internalServerError func (hs *HTTPServer) UpdateDataSourceByUID(c *contextmodel.ReqContext) response.Response { cmd := datasources.UpdateDataSourceCommand{} diff --git a/public/api-merged.json b/public/api-merged.json index 8e1dde8fa74..6c40acebc14 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -4395,6 +4395,9 @@ "403": { "$ref": "#/responses/forbiddenError" }, + "409": { + "$ref": "#/responses/conflictError" + }, "500": { "$ref": "#/responses/internalServerError" } diff --git a/public/openapi3.json b/public/openapi3.json index 3552f7d812a..5b2be3da2fe 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -18058,6 +18058,9 @@ "403": { "$ref": "#/components/responses/forbiddenError" }, + "409": { + "$ref": "#/components/responses/conflictError" + }, "500": { "$ref": "#/components/responses/internalServerError" }