NOTE: User must be logged in as admin to access this API
URL : api/priority-edit/{priorityId}
Method: PATCH
Query Parameters :
| Parameter | Type | Possible Values | Required/Optional | Description |
| name | String | First Priority | Required | Priority Name |
| priority_desc | Text | This is a Description | Required | Priority Description |
| priority_color | String | #000000 | Required | Priority Color |
| ispublic | Integer | 1,0 | Required | Priority visibilty |
| is_default | Integer | 1,0 | Optional | Based on the selection If clicked then 1(made deafult) and if not clicked then 0(made non-default) |
Response:
{
"success": true,
"message":"Priority updated Successfully"
}