/// <summary> /// Bulk delete contacts /// </summary> /// <param name="authToken">Access token to use</param> /// <param name="characterId">An EVE character ID</param> /// <param name="contactIds">A list of contacts to delete</param> /// <returns>IsSuccessful will be true on successfull call</returns> public ESIResponse <object> DeleteCharacterContacts(string authToken, int characterId, Int64[] contactIds) { var request = RestRequestHelper.CreateAuthorizedDeleteRequest($"characters/{characterId}/contacts/", authToken); request.AddParameter("contact_ids", contactIds, ParameterType.QueryString); return(_client.Execute <object>(request)); }
/// <summary> /// Delete a mail label /// </summary> /// <param name="authToken">Access token to use</param> /// <param name="characterId">An EVE character ID</param> /// <param name="labelId">An EVE label id</param> /// <returns>Label deleted</returns> public ESIResponse <object> DeleteLabel(string authToken, int characterId, long labelId) { var request = RestRequestHelper.CreateAuthorizedDeleteRequest($"characters/{characterId}/mail/labels/{labelId}/", authToken); return(_httpClient.Execute <object>(request)); }
/// <summary> /// Kick a fleet member /// </summary> /// <param name="authToken">Access token to use</param> /// <param name="fleetId">ID for a fleet</param> /// <param name="characterId">The character ID of a member in this fleet</param> /// <returns>IsSuccessful will be true on a successful call</returns> public ESIResponse <object> KickFleetMember(string authToken, Int64 fleetId, int characterId) { var request = RestRequestHelper.CreateAuthorizedDeleteRequest($"fleets/{fleetId}/members/{characterId}/", authToken); return(_httpClient.Execute <object>(request)); }
/// <summary> /// Delete a fleet wing, only empty wings can be deleted. The wing may contain squads, but the squads must be empty /// </summary> /// <param name="authToken">Access token to use</param> /// <param name="fleetId">ID for a fleet</param> /// <param name="wingId">The wing to delete</param> /// <returns>IsSuccessful will be true on a successful call</returns> public ESIResponse <object> DeleteFleetWing(string authToken, Int64 fleetId, Int64 wingId) { var request = RestRequestHelper.CreateAuthorizedDeleteRequest($"fleets/{fleetId}/wings/{wingId}/", authToken); return(_httpClient.Execute <object>(request)); }
/// <summary> /// Delete a fitting from a character /// </summary> /// <param name="authToken">Access token to use</param> /// <param name="characterId">An EVE character ID</param> /// <param name="fittingId">ID for a fitting of this character</param> /// <returns>IsSuccessful will be true on a successful call</returns> public ESIResponse <object> DeleteFitting(string authToken, int characterId, int fittingId) { var request = RestRequestHelper.CreateAuthorizedDeleteRequest($"characters/{characterId}/fittings/{fittingId}", authToken); return(_client.Execute <object>(request)); }