Skip to main content

api2_query using "delmx" with root account not working as expected.

Comments

3 comments

  • cPanelMichael
    Hello :) To clarify, is the account you are removing the MX record from assigned the default feature list? Have you verified that it's not the feature list assigned to the account that's important, and not the "root" authentication? Thank you.
    0
  • John D
    Hi cPanelMichael, Yes, the accounts we are trying to remove MX's from are all using packages with feature list "Standard" which has the "change mx" option unticked. After some testing it does appear that the feature list assigned to the account I am trying to remove the MX from needs this feature to do so. I would have thought it would have used the API2 authenticated user's feature list to restrict access for API calls. Is there any way to do this without giving our customers the ability to change mx. Thanks, John
    0
  • cPanelMichael
    [quote="John D, post: 1728392">Is there any way to do this without giving our customers the ability to change mx.
    There is no way around that restriction as far as I can tell. One possible workaround is to delete the MX record directly from the zone instead of using our API. Thank you.
    0

Please sign in to leave a comment.