API delete workspace

Hello guys, is there a way how to delete workspace using API? I can create it, but for DELETE method I'm getting 405 NOT ALLOWED and I couldn't find anything in docs. Thanks!
Solution:
Does this answer your question? https://github.com/coder/coder/discussions/12680...
GitHub
Delete Workspace via API · coder coder · Discussion #12680
Is it possible to delete a workspace using the V2 API? I'm hoping I just missed something in the documentation. I'm building an app to create users via SMS, and I want to delete the users a...
Jump to solution
5 Replies
Codercord
Codercord8mo ago
<#1227583075907801230>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
MrPeacock
MrPeacock8mo ago
Are you sure you are authenticated? We are providing a killws command in our customized images and this works very well
Solution
Atif
Atif8mo ago
Does this answer your question? https://github.com/coder/coder/discussions/12680
GitHub
Delete Workspace via API · coder coder · Discussion #12680
Is it possible to delete a workspace using the V2 API? I'm hoping I just missed something in the documentation. I'm building an app to create users via SMS, and I want to delete the users a...
molitann
molitannOP8mo ago
Yes, thanks
Codercord
Codercord8mo ago
@Atif closed the thread.
Want results from more Discord servers?
Add your server