v1
latestOpenAPI 3.0.02026-07-175652103.9 KBaddress book
Update peer
This function is an API endpoint that updates a peer in an address book.
Parameters
-
ab: The identifier of the address book.
-
request: A JSON object containing the updated peer information.
Returns
If successful, this function returns an ActionResponse::Empty object.
put/api/ab/peer/update/{ab}
Path parameters
abstring required
Request body
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"}