Hello everyone,
I’m facing an issue when trying to change a reseller’s package using the DirectAdmin API.
Context:
Has anyone experienced this or knows what might cause this message? Is it a permission limitation, a DirectAdmin configuration, or a bug?
Thanks in advance for any help or suggestions!
I’m facing an issue when trying to change a reseller’s package using the DirectAdmin API.
Context:
- I’m authenticating with the API as the admin user (the main admin of the panel).
- I can successfully list resellers using the CMD_API_SHOW_RESELLERS command.
- I can also list available reseller packages using the CMD_API_PACKAGES_RESELLER command.
- However, when I try to change the reseller’s package using the CMD_API_MODIFY_RESELLER command with these parameters:
action=package
reseller=reseller_username
package=package_name
api=yes
error=1&text=Cannot execute your request&details=That reseller does not belong to you
- The username and password are correct.
- The package I’m trying to assign exists and was listed by the API.
- I’m authenticating as the admin user, which should have full permissions.
- I can see the reseller and packages in the web panel and haven’t found any restrictions preventing this change via API.
Has anyone experienced this or knows what might cause this message? Is it a permission limitation, a DirectAdmin configuration, or a bug?
Thanks in advance for any help or suggestions!