Query servicedeskapi with Service Account and Basic Auth

Hi,

I previously used a personal account with Basic Auth to create customer users via the servicedeskapi under rest/servicedeskapi/customer. I now wanted to migrate this to the newly added Service Accounts. After creating a Service Account and giving him the same permissions as my personal user, I created an API Token. Since none of the shown permissions matched the once of the documentation, I used write:servicedesk.customer:jira-service-management but I get an error 401 when creating a customer.
What is the needed privilege to do this?

Solved! I had to query the new API endpoint, not the old one.