The requested path 'v1/console/execute-script' could not be found

I follow these steps: Director - Get started with Icinga

Adding the api results in this error message:\

The requested path 'v1/console/execute-script' could not be found or the request method is not valid for this path. (RestApiResponse.php:111)

Is this fixable?

Under activities I see

But the file /etc/icinga2/conf.d/api-users.conf was already created during setup.

what permissions does your icinga director api user have?
Why do you want to create the icingadb api user using director and not using the default configfile?