> For the complete documentation index, see [llms.txt](https://tag-api.agreefy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tag-api.agreefy.com/update-category.md).

# Update category

Update category name

| 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 %}
