# Update category

| Parameters                  | Type       | Description       |
| --------------------------- | ---------- | ----------------- |
| **categoryName(Mandatory)** | String(36) | **Category Name** |

* URL Parameter&#x73;**:**

  **clientUUID**

  **categoryUUID**

## Update category name

<mark style="color:green;">`POST`</mark> `https://<baseurl>/v1/organization/category/edit/@clientUUID/@categoryUUID`

#### Path Parameters

| Name         | Type   | Description  |
| ------------ | ------ | ------------ |
| clientUUID   | string | Client UUID  |
| categoryUUID | string | CategoryUUID |

#### Headers

| Name           | Type   | Description          |
| -------------- | ------ | -------------------- |
| Authentication | string | Authentication token |

{% tabs %}
{% tab title="200 " %}

```
#########################################################################
## success
#########################################################################

{
    "message": "success",
    "status": 200
}

#########################################################################
## Error:Unable to save data
#########################################################################
            
{
	"message": "error",
	"status": 400,
	"description": "Unable to save data"
}

#########################################################################
## Error:Category name already exists
#########################################################################
            
{
	"message": "error",
	"status": 401,
	"description": "Category name already exists"
}

#########################################################################
## Error:Invalid data
#########################################################################
            
{
	"message": "error",
	"status": 402,
	"description": "Invalid data"
}






```

{% endtab %}
{% endtabs %}
