snippets.delete() — supabase Function Reference
Architecture documentation for the snippets.delete() function in Snippets.ts from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/interfaces/Docs/Snippets.ts lines 498–517
delete: (resourceId: string, endpoint: string, apiKey: string) => ({
title: 'Delete matching rows',
bash: {
language: 'bash',
code: `
curl -X DELETE '${endpoint}/rest/v1/${resourceId}?some_column=eq.someValue' \\
-H "apikey: ${apiKey}" \\
-H "Authorization: Bearer ${apiKey}"
`,
},
js: {
language: 'js',
code: `
const { error } = await supabase
.from('${resourceId}')
.delete()
.eq('some_column', 'someValue')
`,
},
}),
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free