TradeMe.Api.Client.PhotoMethods.RemovePhoto C# (CSharp) Method

RemovePhoto() public method

Performs the Photo Method: Remove a photo.

Creates a query string using the photo id provided.

REQUIRES AUTHENTICATION.
public RemovePhoto ( string photoId ) : string
photoId string The id of the photo to be removed.
return string
        public string RemovePhoto(string photoId)
        {
            var query = String.Format(Constants.Culture, "{0}/{1}/Remove{2}", Constants.PHOTOS, photoId, Constants.XML);
            return _connection.Post(null, query, true).ToString();
        }