netbox-community / go-netbox

The official Go API client for Netbox IPAM and DCIM service.
Other
199 stars 157 forks source link

UsersTokensBulkPartialUpdate Missing ID Field #172

Open computeracer opened 7 months ago

computeracer commented 7 months ago

It seems the UsersTokensBulkPartialUpdate function does not currently work. When following the example we get a 400 error. From playing with the netbox API interface, it seems the ID field is required, but there is not way to set it.

Link to example https://github.com/netbox-community/go-netbox/blob/239313ca29b38c04be313675386e45d3387eed68/docs/UsersAPI.md#UsersTokensBulkPartialUpdate