Clanbite Social Kit clanbite-social-kit/v1

POST /wp-json/clanbite-social-kit/v1/friendships/(?P<id>\d+)/remove

POST

Remove an accepted friendship (unfriend).

Access is checked by require_login().

ArgumentTypeDefaultDescription
id requiredinteger

Handled by remove_friendship()

Example

curl -X POST 'https://example.com/wp-json/clanbite-social-kit/v1/friendships/(?P<id>\d+)/remove'

Defined in inc/Rest/Rest_Controller.php