-
PUT /api/projects/<project_uuid>/
- Update the details of an existing project.- This endpoint allows you to modify the project's name and description.
- Using the PUT method means that any field not included in the request body will be set to its default value, or null.
- The
project_uuid
identifies the project to be updated and cannot be changed.
Request Example (Updating both name and description):
PUT [https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/](https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/)
Authorization: Token <your_api_token>
Content-Type: application/json
{
"name": "Updated Project Name",
"description": "Updated project description."
}Request Example (Updating only name):
PUT [https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/](https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/)
Authorization: Token <your_api_token>
Content-Type: application/json
{
"name": "Updated Project Name"
}Response Example:
{
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"name": "Updated Project Name",
"description": "Updated project description.",
"created": "2025-03-15T10:00:00Z",
"customer": "customer_uuid_value",
"url": "[https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/](https://api.wayscloud.services/api/projects/550e8400-e29b-41d4-a716-446655440000/)"
}Status Codes:
- 200 OK: The project was successfully updated.
- 400 Bad Request: The request body contained invalid data.
- 401 Unauthorized: The user making the request is not authorized.
- 404 Not Found: The specified project
project_uuid
does not exist.