Update a REST API

Updates an existing REST API.