# Update resources Updates resources for a workspace. Endpoint: PATCH /iacm/api/orgs/{org}/projects/{project}/workspaces/{workspace}/resources Version: 1.0 Security: x-api-key ## Path parameters: - `org` (string, required) Org is the organisation identifier. Example: "nq" - `project` (string, required) Project is the project identifier. Example: "dt" - `workspace` (string, required) Workspace identifier Example: "Veritatis nulla a aut est odio cum." ## Header parameters: - `Harness-Account` (string, required) Account is the internal customer account ID. Example: "jse" ## Request fields (application/json): - `resources` (array, required) Example: [{"attributes":"Est dignissimos molestiae quia.","mode":"Qui aspernatur voluptatem.","module":"Sunt accusantium porro tempora quis minima.","name":"Iste adipisci odio tenetur.","provider":"Maiores odio officia consectetur tempora.","sensitive_attribute_paths":["Nam cupiditate consequatur.","Nemo sunt error nisi sunt laudantium voluptatem."],"type":"Nemo dolor voluptatem quia."},{"attributes":"Est dignissimos molestiae quia.","mode":"Qui aspernatur voluptatem.","module":"Sunt accusantium porro tempora quis minima.","name":"Iste adipisci odio tenetur.","provider":"Maiores odio officia consectetur tempora.","sensitive_attribute_paths":["Nam cupiditate consequatur.","Nemo sunt error nisi sunt laudantium voluptatem."],"type":"Nemo dolor voluptatem quia."}] - `resources.attributes` (any, required) Resource attributes Example: "Expedita neque libero sapiente tempore accusantium et." - `resources.mode` (string, required) managed, datasource, output Example: "Inventore est repellendus omnis ut recusandae." - `resources.module` (string, required) Module path Example: "Omnis exercitationem dolores blanditiis ex et." - `resources.name` (string, required) Resource name Example: "Hic aut laborum." - `resources.provider` (string, required) Provider name Example: "Voluptatem quae et eum." - `resources.sensitive_attribute_paths` (array) Paths to sensitive attributes Example: ["Ipsa mollitia consequatur.","Quia ducimus sit alias dignissimos optio.","Est dolorum at sed quia ut sapiente."] - `resources.type` (string, required) Resource type Example: "Possimus minima commodi dicta." ## Response 200 fields (application/json): - `results` (array, required) Example: [{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."},{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."},{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."}] - `results.error` (string) Example: "Fugiat neque magni aliquam quis voluptatibus itaque." - `results.mode` (string, required) Example: "Molestias tempore nemo veniam esse veritatis." - `results.module` (string, required) Example: "Ab cum." - `results.name` (string, required) Example: "Optio aut saepe harum qui vero." - `results.provider` (string, required) Example: "Facere consequatur repellat." - `results.status` (string) Enum: "updated", "skipped", "failed" - `results.type` (string, required) Example: "Et sunt et." - `summary` (object, required) Summary of a resource update operation Example: {"failed":8464423547958666000,"skipped":6440563463654133000,"total":8862039898814167000,"updated":7735522275708653000} - `summary.failed` (integer, required) Number of resources that failed to update Example: 8464423547958666000 - `summary.skipped` (integer, required) Number of resources skipped Example: 6440563463654133000 - `summary.total` (integer, required) Total number of resources processed Example: 8862039898814167000 - `summary.updated` (integer, required) Number of resources successfully updated Example: 7735522275708653000 ## Response 400 fields (application/vnd.goa.error): - `results` (array, required) Example: [{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."},{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."},{"error":"Laudantium quibusdam voluptatem illum rerum voluptatem non.","mode":"At dolorem facere laboriosam.","module":"Expedita eaque accusantium ea quo quae.","name":"Quisquam animi non reiciendis sit deserunt.","provider":"Ut velit voluptatem quos enim ut quo.","status":"failed","type":"Rerum iste qui qui commodi."}] - `results.error` (string) Example: "Fugiat neque magni aliquam quis voluptatibus itaque." - `results.mode` (string, required) Example: "Molestias tempore nemo veniam esse veritatis." - `results.module` (string, required) Example: "Ab cum." - `results.name` (string, required) Example: "Optio aut saepe harum qui vero." - `results.provider` (string, required) Example: "Facere consequatur repellat." - `results.status` (string) Enum: "updated", "skipped", "failed" - `results.type` (string, required) Example: "Et sunt et." - `summary` (object, required) Summary of a resource update operation Example: {"failed":8464423547958666000,"skipped":6440563463654133000,"total":8862039898814167000,"updated":7735522275708653000} - `summary.failed` (integer, required) Number of resources that failed to update Example: 8464423547958666000 - `summary.skipped` (integer, required) Number of resources skipped Example: 6440563463654133000 - `summary.total` (integer, required) Total number of resources processed Example: 8862039898814167000 - `summary.updated` (integer, required) Number of resources successfully updated Example: 7735522275708653000 ## Response 401 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 403 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 404 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 408 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 409 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 423 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 499 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 500 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true ## Response 502 fields (application/vnd.goa.error): - `fault` (boolean, required) Is the error a server-side fault? Example: true - `id` (string, required) ID is a unique identifier for this particular occurrence of the problem. Example: "123abc" - `message` (string, required) Message is a human-readable explanation specific to this occurrence of the problem. Example: "parameter 'p' must be an integer" - `name` (string, required) Name is the name of this class of errors. Example: "bad_request" - `temporary` (boolean, required) Is the error temporary? Example: true - `timeout` (boolean, required) Is the error a timeout? Example: true