Skip to content

Update project status

PUT
/projects/{projectId}/updateStatus

Update the status of a project

projectId
required
integer
>= 1

Unique identifier for the project

object
project_status
required

New status for the project

string
Allowed values: active completed cancelled on_hold

Project status updated successfully

object
success
boolean
data

Response data

message

Optional success message

string

Bad request - invalid input

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: BAD_REQUEST

Unauthorized - authentication required

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: UNAUTHORIZED

Resource not found

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: NOT_FOUND

Internal server error

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: INTERNAL_SERVER_ERROR