project_id
and the new project_name
. This endpoint allows users to rename a project while preserving all other metadata such as creation and modification timestamps, ownership, and team visibility settings.project_id
, follow this guide:project_id
(path parameter): The unique ID of the project you wish to edit.project_name
(in request body): The new name you want to assign to the project.curl --location -g --request PUT 'https:///v2/api/project/0' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"project_name": "Sample Project Name Updated"
}'
{
"success": true,
"message": "Project modified successfully.",
"data": {
"id": 151,
"created_by": "user@example.com",
"created_on": "2024-10-22T00:43:29.531995Z",
"modified_by": "user@example.com",
"modified_on": "2024-10-22T00:43:29.532010Z",
"project_name": "Sample Project Name Updated",
"team_visibility": false,
"is_deleted": false,
"team": 1
}
}