Remove an entity member from a loan

Removes one member of the borrowing entity for good.

This one cannot be undone. The member is deleted rather than
switched off. There is no inactive-member state to restore from, and
the back office works the same way. That makes it different from
DELETE /api/v4/loans/{id}, which archives a loan and can be
reversed.

Removing a member is its own request rather than something worked out
from a shorter members list on PATCH. The reasoning is the same as
for adding a property: an update that mentions only some of the data
must never be able to delete the rest. Get the memberId from
GET /api/v4/loans/{id} — every item in entity.members[] carries
one.

You get the loan back in the standard read shape, so you can see the
remaining members without a second request.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Loan file id.

integer
required

The member to remove, as returned in entity.members[].memberId.
A member of a different loan, or of another company, gets you a
404 rather than a 403. That is deliberate: the reply does not
confirm whether the member exists.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json