feat: Adds the ability to delete a portal (#5305)
This commit is contained in:
parent
6e945dd61e
commit
f4fc53b425
19 changed files with 158 additions and 48 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue