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