async updateEntity()

in src/lib/service/custos-service/custos-service-entities/index.js [56:73]


    async updateEntity({clientId, entityId, name, description, type, ownerId, fullText, binaryData}) {
        const axiosInstance = await this.custosService.axiosInstance;
        return axiosInstance.put(
            `${CustosService.ENDPOINTS.SHARING}/entity`,
            {
                "client_id": clientId,
                "entity": {
                    "id": entityId,
                    "name": name,
                    "description": description,
                    "type": type,
                    "owner_id": ownerId,
                    "full_text": fullText,
                    "binary_data": binaryData
                }
            }
        ).then(({data: {types}}) => types);
    }