GET
https://datascientyst.com/ghost/api/content/newsletters/?key=XXXXX&limit=all
Status
401
Unauthorized
VersionHTTP/3
Transferred1.09 kB (234 B size)
Request PriorityHighest
I did migration from one server to another.
The old MySQL database was used - in order to keep information for comments, members etc.
Is it possible to change/ reset the content API key(s) from the UI or ghost setup?
I can see multiple different API keys in the old DB.
Only 2 in the new one.
@Nikos In the future, it’d be better to make a new post to ask a question.
However, from the info you provided:
The endpoint isn’t right. You need to specify which API you’re trying to hit
– https://{admin_domain}/ghost/api/admin/ or https://{admin_domain}/ghost/api/content/
That being said, the Content API key will only work with the content API, but you need to use the Admin API to update posts.