updateOrgGroup
Rename a group, change whether it is the org's default group, or both. {"name": name} renames it, which takes manageGroups on the org. {"is_default": true} makes it the default group, which a member who joins the org in no group joins, in place of the group that was; {"is_default": false} on the default group leaves the org without one, and on any other group changes nothing. Only an org owner sends is_default.
PATCH
/orgs/{org_id}/groups/{group_id}Path parameters
Request body JSON required
Returns
200
OrgGroup
400
InvalidRequest | RequestBodyTooDeep
JSON
One of the following:
- InvalidRequestEncoded
- RequestBodyTooDeepEncoded
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
OrgNotFound | GroupNotFound
JSON
One of the following:
- OrgNotFoundEncoded
- GroupNotFoundEncoded
409
GroupNameTaken
413
RequestBodyTooLarge
503
SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded