mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
feat: Adds the ability to delete a portal (#5305)
This commit is contained in:
@@ -9,6 +9,10 @@ class PortalsAPI extends ApiClient {
|
||||
updatePortal({ portalSlug, params }) {
|
||||
return axios.patch(`${this.url}/${portalSlug}`, params);
|
||||
}
|
||||
|
||||
deletePortal(portalSlug) {
|
||||
return axios.delete(`${this.url}/${portalSlug}`);
|
||||
}
|
||||
}
|
||||
|
||||
export default PortalsAPI;
|
||||
|
||||
Reference in New Issue
Block a user