Clanbite Social Kit clanbite-social-kit/v1
POST /wp-json/clanbite-social-kit/v1/friendships/(?P<id>\d+)/acceptPOST
Accept an incoming friend request by row ID.
Access is checked by require_login().
| Argument | Type | Default | Description |
|---|---|---|---|
id required | integer |
Handled by accept_friendship()
Example
curl -X POST 'https://example.com/wp-json/clanbite-social-kit/v1/friendships/(?P<id>\d+)/accept'Defined in inc/Rest/Rest_Controller.php