curl
curl -X DELETE "https://api.linkvite.io/v1/collections/<id>" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
await linkvite.collections.delete('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
err := client.Collections.Delete(ctx, "<id>"){
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Collections
Delete collection
Scope: collections:delete · Rate limit: 250 requests per 5 minutes
DELETE
/
v1
/
collections
/
{id}
curl
curl -X DELETE "https://api.linkvite.io/v1/collections/<id>" \
-H "x-api-key: $LINKVITE_API_KEY"import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
await linkvite.collections.delete('<id>');client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
err := client.Collections.Delete(ctx, "<id>"){
"ok": true,
"message": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?