API - Delete isn't working

Hi everyone,

We’re currently trying to access the Discourse delete API but are encountering the following error:

{
    "errors": [
        "You are not permitted to view the requested resource."
    ],
    "error_type": "invalid_access"
}

Could someone please assist us with this? Is there a setting in Discourse that might be causing this issue?

Thank you!

It looks like you’re not passing a valid API key and user.

So you might share what you’re doing (with the actual key redacted).

2 Likes