new Fitting(fittings, fittingId)
Create a new Fitting represented as fittingId from the given fittings.
Parameters:
| Name | Type | Description |
|---|---|---|
fittings |
Fittings | The fittings owning the fit |
fittingId |
Number | The fitting id that is used for all requests |
Methods
-
del()
-
Delete a fitting from a character.
This makes an HTTP DELETE request to
/characters/{character_id}/fittings/{fitting_id}/. The route version isv1.On success, this resolves to an empty object.
This function must be used with an SSO token that has the following scopes:
esi-fittings.write_fittings.v1
Returns:
A Promise that resolves to an empty object.
- Type
- Promise.<Object>