POST (Header:DELETE) api.ashx/v2/users/{followerid}/following/{followingid}.{json|xml}
DELETE a follow for a user by user id.
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| FollowerId | int? | Either FollowerId or FollowerName is required. | Optional | |||
| FollowerName | string | Either FollowerId or FollowerName is required. | Optional | |||
| FollowingId | int? | Either FollowingId or FollowingName is required. | Optional | |||
| FollowingName | string | Either FollowingId or FollowingName is required. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/users/{followerid}/following/{followingid}.json',
data: {
'followerid': '6',
'followingid': '6'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Info>
<Message>string</Message>
<Message>string</Message>
</Info>
<Warnings>
<Message>string</Message>
<Message>string</Message>
</Warnings>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>POST (Header:DELETE) api.ashx/v2/users/{followername}/following/{followingname}.{json|xml}
DELETE a follow for a user by username.
Request Parameters
| Name | Type | Location | Description | Required | Default | Options |
|---|---|---|---|---|---|---|
| FollowerId | int? | Either FollowerId or FollowerName is required. | Optional | |||
| FollowerName | string | Either FollowerId or FollowerName is required. | Optional | |||
| FollowingId | int? | Either FollowingId or FollowingName is required. | Optional | |||
| FollowingName | string | Either FollowingId or FollowingName is required. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({
url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/users/{followername}/following/{followingname}.json',
data: {
'followername': 'followername',
'followingname': 'followingname'
}
}).then(function(response) {
// use response
});Example Responses
JSON
{
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}XML
<?xml version="1.0" encoding="utf-16"?>
<Response>
<Info>
<Message>string</Message>
<Message>string</Message>
</Info>
<Warnings>
<Message>string</Message>
<Message>string</Message>
</Warnings>
<Errors>
<Message>string</Message>
<Message>string</Message>
</Errors>
</Response>