Control Web Panel

Developers => CWP API => Topic started by: mrnovo on November 15, 2020, 12:36:41 PM

Title: Can't update e-mail account.
Post by: mrnovo on November 15, 2020, 12:36:41 PM
UDP action for email endpoint throws Slim Application Error

Slim Application Error
The application could not run because of the following error:

Details
Type: ErrorException
Code: 8
Message: Undefined variable: action
File: /usr/local/cwpsrv/var/services/api/v1/index.php

Title: Re: Can't update e-mail account.
Post by: mrnovo on November 15, 2020, 12:50:06 PM
Well its a typo :)

Action for update is "udp" in API documents. It has to be "upd"