curl
curl -X POST "https://api.linkvite.io/v1/collections/<id>/move" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.collections.move('<id>', {});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Collections.Move(ctx, "<id>", &linkvite.MoveCollectionRequest{
}){
"data": {
"allow_public_join": true,
"bookmarks_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"icon": "<string>",
"id": "<string>",
"is_private": true,
"last_opened_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"parent_id": "<string>",
"role": "admin",
"status": "active",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_id": "<string>",
"user_id": "<string>",
"views": 123,
"description": "<string>"
},
"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>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Collections
Move collection
Scope: collections:edit · Rate limit: 250 requests per 5 minutes
POST
/
v1
/
collections
/
{id}
/
move
curl
curl -X POST "https://api.linkvite.io/v1/collections/<id>/move" \
-H "x-api-key: $LINKVITE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
import {Linkvite} from '@linkvite/js';
const linkvite = new Linkvite(process.env.LINKVITE_API_KEY);
const data = await linkvite.collections.move('<id>', {});client, _ := linkvite.NewClient(os.Getenv("LINKVITE_API_KEY"))
data, err := client.Collections.Move(ctx, "<id>", &linkvite.MoveCollectionRequest{
}){
"data": {
"allow_public_join": true,
"bookmarks_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"icon": "<string>",
"id": "<string>",
"is_private": true,
"last_opened_at": "2023-11-07T05:31:56Z",
"name": "<string>",
"owner_avatar": "<string>",
"owner_id": "<string>",
"owner_name": "<string>",
"owner_username": "<string>",
"parent_id": "<string>",
"role": "admin",
"status": "active",
"thumbnail": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by_id": "<string>",
"user_id": "<string>",
"views": 123,
"description": "<string>"
},
"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>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}{
"ok": false,
"error": "<string>",
"errors": {},
"request_id": "<string>"
}Was this page helpful?