Classic APIs
ClassicGroupsApi
updateGroupSocialLink

updateGroupSocialLink

Updates an existing social link.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to add a social link to.
newSocialNewSocialThe social link request data.

Example

const { data: updatedSocial } = await ClassicGroupsApi.updateGroupSocialLink({
  groupId: 5850082,
  socialLinkId: addedSocial.id,
  newSocial: {
    type: "Twitch",
    title: "Follow My Twitch lol",
    url: "https://twitch.tv/fooBar",
  },
}); 

Endpoint

PATCH /v1/groups/{groupId}/social-links/{socialLinkId}