Delete all posts by a user on entire site with API?

Delete posts using API is failing for me with 403 error with body {“errors”:[“You are not permitted to view the requested resource.”],“error_type”:“invalid_access”}

Any idea what the fix could be?