PATCH /enterprises/{enterprise}/teams/{team_slug}
To edit a team, the authenticated user must be an enterprise owner.
Servers
- https://api.github.com
Path parameters
Name | Type | Required | Description |
---|---|---|---|
enterprise |
String | Yes |
The slug version of the enterprise name. |
team_slug |
String | Yes |
The slug of the team name. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
name |
String | No |
A new name for the team. |
description |
String | No |
A new description for the team. |
sync_to_organizations |
String | No |
Retired: this field is no longer supported. Whether the enterprise team should be reflected in each organization. This value cannot be changed. Valid values:
Default value: "disabled" |
group_id |
String | No |
The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.