MCPcopy Index your code
hub / github.com/xerrors/Yuxi / apiDelete

Function apiDelete

web/src/apis/base.js:236–238  ·  view source on GitHub ↗
(url, options = {}, requiresAuth = true, responseType = 'json')

Source from the content-addressed store, hash-verified

234 * @returns {Promise} - 请求结果
235 */
236export function apiDelete(url, options = {}, requiresAuth = true, responseType = 'json') {
237 return apiRequest(url, { method: 'DELETE', ...options }, requiresAuth, responseType)
238}
239
240export function apiAdminDelete(url, options = {}) {
241 checkAdminPermission()

Callers 9

deleteViewerFileFunction · 0.90
agent_api.jsFile · 0.90
discardSkillInstallDraftFunction · 0.90
deleteSkillFileFunction · 0.90
deleteSkillFunction · 0.90
apikey_api.jsFile · 0.90
deleteWorkspacePathFunction · 0.90
apiAdminDeleteFunction · 0.85
apiSuperAdminDeleteFunction · 0.85

Calls 1

apiRequestFunction · 0.85

Tested by

no test coverage detected