# Update a widget **PUT /widgets/{id}** ## Servers - Production: https://example.com (Production) ## Parameters ### Path parameters - **id** (string(uuid)) The unique identifier of a widget. ### Body: application/json (object) - **name** (string) ## Responses ### 200 OK #### Body: application/json (object) - **id** (string(uuid)) - **created_at** (string(date-time)) - **updated_at** (string(date-time)) ### 400 Bad Request #### Body: application/problem+json (object) - **title** (string) A short, human-readable summary of the problem. - **detail** (string) A human-readable explanation specific to this occurrence of the problem. - **status** (integer) The HTTP status code generated by the origin server for this occurrence of the problem. - **errors** (array[object]) A list of validation errors that occurred while processing the request. ### 404 Widget not found #### Body: application/problem+json (object) - **title** (string) A short, human-readable summary of the problem. - **detail** (string) A human-readable explanation specific to this occurrence of the problem. - **status** (integer) The HTTP status code generated by the origin server for this occurrence of the problem. - **errors** (array[object]) A list of validation errors that occurred while processing the request. [Powered by Bump.sh](https://bump.sh)