Overview
Updates an existing project in Dokploy. Only provide the fields you want to update. System fields likecreatedAt and organizationId are typically not modified.
Annotations
This operation modifies an existing resource and is considered destructive.
This operation is not idempotent as each update may produce different results.
This operation interacts with the external Dokploy API.
Input Schema
The ID of the project to update. Must be a valid existing project ID.
The new name of the project. Must be at least 1 character long.
The new description for the project. Can be set to null to remove the description.
The creation date of the project. Typically not modified.
The organization ID of the project. Typically not modified.
Environment variables for the project. Should be in KEY=VALUE format, with multiple variables separated by newlines.
Response Schema
Returns the updated project object:Unique identifier for the project
Updated name of the project
Updated description of the project
ISO 8601 timestamp of when the project was created
ID of the organization that owns this project
Updated environment variables for the project
Usage Example
Error Handling
If the project update fails, an error response will be returned:Notes
- Only the
projectIdfield is required; all other fields are optional - You only need to provide the fields you want to update
- Setting
descriptiontonullwill remove the description from the project - Environment variables will be completely replaced, not merged, so include all variables you want to keep
- System fields like
createdAtandorganizationIdare typically not modified - This operation is destructive and will overwrite existing values for the fields you provide