PUT api/projects/status?id={id}&projectStatus={projectStatus}
Updates the status of a specific project by its ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the project to update. |
integer |
Required |
| projectStatus |
The new status to assign to the project (e.g., "Active", "Complete"). |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
On success: HTTP 200 OK with a message indicating the result of the update. On failure: HTTP 400 Bad Request if validation fails or an error occurs.
ProjectStatusChange| Name | Description | Type | Additional information |
|---|---|---|---|
| status | string |
None. |
|
| id | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"status": "sample string 1",
"id": 2,
"message": "sample string 3"
}