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

Method deleteCollection

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

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

(
    data: FlashcardsDeleteCollectionData,
  )

Source from the content-addressed store, hash-verified

145 * @throws ApiError
146 */
147 public static deleteCollection(
148 data: FlashcardsDeleteCollectionData,
149 ): CancelablePromise<FlashcardsDeleteCollectionResponse> {
150 return __request(OpenAPI, {
151 method: 'DELETE',
152 url: '/api/v1/collections/{collection_id}',
153 path: {
154 collection_id: data.collectionId,
155 },
156 errors: {
157 422: 'Validation Error',
158 },
159 })
160 }
161
162 /**
163 * Read Cards

Callers 1

deleteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected