Updated API for delegation token

Can I specify the device parameter?