I'm trying to test the api locally. I copied the most basic example from the docs.
:~# curl "http://127.0.0.1:8080/api/application/servers" \
-H "Authorization: Bearer {KEY_FROM_API_ADMIN}" \
-H "Content-Type: application/json" \
-H "Accept: Application/vnd.pterodactyl.v1+json"
I'm getting the following error:
{"error":"You are not authorized to access this endpoint."}