API documentation for 'Update a task bucket' is confusing

Today I was working on a personal script to sync tasks between Vikunja and a CRM (Twenty) and I had some trouble in figuring out how to update a task bucket using the APIs.

Specifically, I’ve found this documentation confusing, and it’s probably because Path Parameters and Request Body Schema show the same informations.