diff --git a/htdocs/api/class/api_access.class.php b/htdocs/api/class/api_access.class.php index 53139b0df8c..52cc9223903 100644 --- a/htdocs/api/class/api_access.class.php +++ b/htdocs/api/class/api_access.class.php @@ -64,7 +64,9 @@ class DolibarrApiAccess implements iAuthenticate * Check access * * @return bool - * @throws RestException + * + * @throws RestException 401 Forbidden + * @throws RestException 503 Technical error */ public function __isAllowed() {