Token renewal via API

I tried to renew (or create a new) project access token via the API (Project access tokens API | GitLab). As Token for the API request itself I used a project access token. As response I got {“message”:“401 Unauthorized”}. The tokens are in the same project and have the same access level (40 Maintainer). Is that behavior by design or is this a bug? Can anyone help me with this?

Thanks in advance.