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