How to resize vmware-volume when creating host via api?

Alright, i was able to figure it out by myself.
The payload i need is:

{ "compute_attributes": { "volumes_attributes": { "0": { "size_gb": 10 } } } }