Skip to content

Endpoint

  • Method: POST
  • Path: /profile/{username}/block
  • Edition: PRO
  • Controller: FollowController@block
  • Route source: fluent-community-pro/app/Http/Routes/api.php:112
  • Controller source: fluent-community-pro/app/Http/Controllers/FollowController.php

POST Block Profile User

POST
/profile/{username}/block

Block Profile User for the FluentCommunity Profile API.

Controller: FollowController@block
Route source: fluent-community-pro/app/Http/Routes/api.php:112

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Path Parameters

username*

Username extracted from the URL path.

Type
string
Required

Responses

Successful response

application/json
JSON
{
  
"follow": {
  
  
"id": 0
  
},
  
"xprofile": {
  
  
"user_id": 0,
  
  
"badge": "string",
  
  
"permalink": "string",
  
  
"meta": {
  
  
  
"website": "string",
  
  
  
"cover_photo": "string",
  
  
  
"badge_slug": [
  
  
  
  
"string"
  
  
  
],
  
  
  
"social_links": {
  
  
  
  
"instagram": "string",
  
  
  
  
"twitter": "string",
  
  
  
  
"youtube": "string",
  
  
  
  
"linkedin": "string",
  
  
  
  
"fb": "string",
  
  
  
  
"blue_sky": "string",
  
  
  
  
"tiktok": "string",
  
  
  
  
"pinterest": "string",
  
  
  
  
"telegram": "string",
  
  
  
  
"snapchat": "string",
  
  
  
  
"reddit": "string",
  
  
  
  
"twitch": "string",
  
  
  
  
"vk": "string",
  
  
  
  
"github": "string",
  
  
  
  
"mastodon": "string"
  
  
  
}
  
  
}
  
},
  
"message": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation