POST (Header:DELETE) api.ashx/v2/users/{userid}/coverphoto.{json|xml}
Remove a user's cover photo
Request Parameters
Name | Type | Location | Description | Required | Default | Options |
---|---|---|---|---|---|---|
userid | int | Path | User ID. | Optional |
Example Requests
Widget Javascript
jQuery.telligent.evolution.del({ url: jQuery.telligent.evolution.site.getBaseUrl() + 'api.ashx/v2/users/{userid}/coverphoto.json', data: { 'userid': '6' } }).then(function(response) { // use response });
Example Responses
JSON
{ "UserCoverPhoto": { "Name": "name", "Data": {}, "Errors": [ "string", "string" ] }, "Errors": [ "string", "string" ] }
XML
<?xml version="1.0" encoding="utf-16"?> <Response> <UserCoverPhoto> <Name>name</Name> <Data /> <Errors> <string>string</string> <string>string</string> </Errors> </UserCoverPhoto> <Errors> <Message>string</Message> <Message>string</Message> </Errors> </Response>