# Update generator **PUT /generators/{id}** ## Servers - http://localhost/api/v1: http://localhost/api/v1 () - https://localhost/api/v1: https://localhost/api/v1 () ## Parameters ### Path parameters - **id** (string) Generator ID ### Body: application/json (object) Update data - **capacity** (number) - **typeId** (string) ## Responses ### 200 OK #### Body: application/json (object) - **capacity** (number) - **createdAt** (string) - **id** (string) - **isRenewable** (boolean) - **typeDescription** (string) - **typeId** (string) - **typeName** (string) - **updatedAt** (string) ### 400 Bad Request #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) ### 404 Not Found #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) ### 500 Internal Server Error #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)