Can't delete a document using the API Documentation

I want to delete a document using the API, I used post and patch methods and work very well, but I got a problem deleting any document.

I'm following this documentation:

When I make the request I got this response:

data: { error: 'You need to sign in before continuing.' }

I don't know why I got this response because I use my Bearer and it works terrific creating or updating documents.

Kind regards,

Hey Fabricio! I believe this is an actually an issue on our end with DELETE endpoints not accepting Bearer tokens when they should. It should be fixed soon in 7.10. In the meanwhile, you should be able to work around this by using a private API token instead of a Bearer token.

Thanks so much for bearing (unintentional pun, sorry!) with us!

Constance

1 Like

Thanks a lot Contance :smiley:

1 Like