Changing the default group using an API | Community
Skip to main content

Changing the default group using an API

  • February 12, 2023
  • 1 reply
  • 0 views

Ido11

Currently it is impossible to change the default group using an API call

The reason for that is that changing the default group means changing a group from non-default to default, and the opposite for another group 

Because these are two groups that are being changed simultaneously, the API call doesn't allow that

However, changes like that are possible on other cases (such as the default language of a brand) , in which there is a differnent API call just for the default language change:

/hc/api/internal/default_locale

1 reply

Tipene
  • February 13, 2023

Hi @ido11,

Yes, you’re correct that the default property on a group is a read-only field and cannot be updated directly via the API. This is expected functionality at this time. Changes to the default group on an account can be made directly via admin center. Here’s a link to an article which goes in to more detail:

https://support.zendesk.com/hc/en-us/articles/4408828237722-Changing-the-default-group-for-your-account-or-a-team-member

If you have any questions, feel free to reach out!

Tipene