DELETE method not allowed (status 405)

Hello all,

I am curious why I am unable to make a DELETE request? I am able to use GET and POST so far.

This is the message I get returned back to me ->
{ message: ‘DELETE method is not allowed. It should be one of these method(s): GET’ }

Any help would be greatly appreciated!

Best,
Tefe

@Brewmeister,

Can you please let use know the which product REST API that you are referring to?

Hey, sorry. I am referring to Freshdesk’s API. So this is the endpoint ->
/api/v2/tickets/[id]

I’m trying to use this to programmatically delete tickets from my Freshdesk account.

Thank you for your quick response!