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
Fullscreen
1
2
3
4
5
6
7
8
9
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
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}
XML
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-16"?>
string
string
string
string
string
string
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
Fullscreen
1
2
3
4
5
6
7
8
9
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
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
"Info": [
"string",
"string"
],
"Warnings": [
"string",
"string"
],
"Errors": [
"string",
"string"
]
}
XML
Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?xml version="1.0" encoding="utf-16"?>
string
string
string
string
string
string