in src/lib/service/custos-service/custos-service-entities/index.js [75:92]
async deleteEntity({clientId, entityId, name, description, type, ownerId}) {
const axiosInstance = await this.custosService.axiosInstance;
return axiosInstance.delete(
`${CustosService.ENDPOINTS.SHARING}/entity`,
{
data: {
"client_id": clientId,
"entity": {
"id": entityId,
"name": name,
"description": description,
"type": type,
"owner_id": ownerId
}
}
}
).then(({data: {types}}) => types);
}