Technically, [POST should be idempotent](https://restfulapi.net/idempotent-rest-apis/), so as implemented PUT would be more appropriate for routes like `/api/collections`.