Description
Tell the local Gateway node to leave its Availability group. This endpoint can be called only from the Secondary node.
This endpoint will fail if the local Gateway node is the Primary node or is not a member of an Availability group.
Input request: None.
Output response: Message indicating success or failure.
Sample output
HTTP/1.1 200 OK
Content-Type: application/json
{
"message": "Member removed from availability group."
}