# “Groups” Endpoints - PATCH Patch group

**URL:** <https://community.toggl.com/t/groups-endpoints-patch-patch-group/331>\
**Category:** API References\
**Tags:** users, api, endpoints, patch, groups\
**Created:** [December 2, 2024, 12:15pm UTC](https://community.toggl.com/t/groups-endpoints-patch-patch-group/331 "2024-12-02T12:15:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Support](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/support/32/1577_2.png) [@Support](https://community.toggl.com/u/Support)\
**Post date:** [December 2, 2024, 12:15pm UTC](https://community.toggl.com/t/groups-endpoints-patch-patch-group/331/1 "2024-12-02T12:15:09Z")

</div>

```auto
https://api.track.toggl.com/api/v9/organizations/{organization_id}/groups/{group_id}

```

Patches a group in the specified organization. Patches are applied individually.

- cURL
- Go
- Ruby
- JavaScript
- Python
- Rust

```auto
extern crate tokio;extern crate serde_json;use reqwest::{Client};use reqwest::header::{CONTENT_TYPE};#[tokio::main]async fn main() -> Result<(), reqwest::Error> { let client = Client::new().basic_auth("<email>", "<password>"); let json = client.request(Method::PATCH, "https://api.track.toggl.com/api/v9/organizations/{organization_id}/groups/{group_id}".to_string()).json(&serde_json::json!([\{"op":"string","path":"string","value":[\{\}]\}])) .header(CONTENT_TYPE, "application/json") .send() .await? .json() .await?; println!("{:#?}", json); Ok(())}

```

### Parameters[​](https://engineering.toggl.com/docs/api/groups/#parameters-4)

#### Path[​](https://engineering.toggl.com/docs/api/groups/#path-4)

| name | type | required | description |
| --- | --- | --- | --- |
| organization\_id | integer | true | Numeric ID of the organization. |
| group\_id | integer | true | Numeric ID of the group. |

#### Body[​](https://engineering.toggl.com/docs/api/groups/#body-2)

| Name | Type | Description |
| --- | --- | --- |
| items | Array of object | - |

##### items[​](https://engineering.toggl.com/docs/api/groups/#items-1)

| Name | Type | Description |
| --- | --- | --- |
| op | string | - |
| path | string | - |
| value | Array of integer | - |

### Response[​](https://engineering.toggl.com/docs/api/groups/#response-4)

#### 200[​](https://engineering.toggl.com/docs/api/groups/#200-4)

Returns the result of the requested operations.

| Name | Type | Description |
| --- | --- | --- |
| failure | Array of object | - |
| success | Array of object | - |

##### failure[​](https://engineering.toggl.com/docs/api/groups/#failure)

| Name | Type | Description |
| --- | --- | --- |
| message | string | - |
| patch | object | - |

##### patch[​](https://engineering.toggl.com/docs/api/groups/#patch)

| Name | Type | Description |
| --- | --- | --- |
| op | string | - |
| path | string | - |
| value | Array of integer | - |

##### success[​](https://engineering.toggl.com/docs/api/groups/#success)

| Name | Type | Description |
| --- | --- | --- |
| op | string | - |
| path | string | - |
| value | Array of integer | - |

#### 400[​](https://engineering.toggl.com/docs/api/groups/#400-3)

Possible error messages:

- Invalid JSON input
- Empty or invalid patch operation
- Empty or invalid patch path
- Unknown group at organization
- Too many patches\_Too many values per patch\_

#### 403[​](https://engineering.toggl.com/docs/api/groups/#403-3)

Forbidden

#### 404[​](https://engineering.toggl.com/docs/api/groups/#404-2)

Invalid group ID.

---

<div class="post-metadata">

**Author:** ![Thanh\_Vinh](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/thanh_vinh/32/2649_2.png) [@Thanh\_Vinh](https://community.toggl.com/u/Thanh_Vinh)\
**Post date:** [November 25, 2025, 7:40am UTC](https://community.toggl.com/t/groups-endpoints-patch-patch-group/331/2 "2025-11-25T07:40:24Z")

</div>

To be blunt, your API documentation is really confusing and missing key information.  
For example:

- What are the accepted values for op?
- What are the accepted values for path?
- There’s also a major contradiction for the value field. The description says it’s an “Array of integer,” but the example shows an “Array of object.” Which one is correct?  
And if value is supposed to be an array of integers, how are we supposed to update string fields, like a group’s name?

Honestly, it feels like this documentation wasn’t reviewed before being published. This makes it extremely difficult for us, as paying customers, to integrate with your service.
