v1

latestOpenAPI 3.0.02026-07-175652103.9 KB
address book

Delete peer

This function is an API endpoint that deletes a peer from an address book.

Parameters

  • ab: The identifier of the address book.

  • request: A JSON object containing an array of peer IDs to be deleted.

Returns

If successful, this function returns an ActionResponse::Empty object.

delete/api/ab/peer/{ab}

Path parameters

abstring required

Request body

string[] required

Response


# 200 OK
This response is given when the request is successful.
The body is empty if there is no error,
The body contains a json object with the error {"error":"Error message"}