MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / deleteCard

Method deleteCard

frontend/src/client/sdk.gen.ts:274–288  ·  view source on GitHub ↗

* Delete Card * @param data The data for the request. * @param data.collectionId * @param data.cardId * @returns void Successful Response * @throws ApiError

(
    data: FlashcardsDeleteCardData,
  )

Source from the content-addressed store, hash-verified

272 * @throws ApiError
273 */
274 public static deleteCard(
275 data: FlashcardsDeleteCardData,
276 ): CancelablePromise<FlashcardsDeleteCardResponse> {
277 return __request(OpenAPI, {
278 method: 'DELETE',
279 url: '/api/v1/collections/{collection_id}/cards/{card_id}',
280 path: {
281 collection_id: data.collectionId,
282 card_id: data.cardId,
283 },
284 errors: {
285 422: 'Validation Error',
286 },
287 })
288 }
289
290 /**
291 * Start Practice Session

Callers 1

deleteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected