API/Endpoint to update cookbook attributes

Hi, Is there any API to update the cookbook attributes? I would like to call that API using java.