How to edit bundleID cabability config by appstore connect api

now, I can enable or disable a capability of a bundleID,but I don`t know how to edit the detail. For example, how to binding a icloud id to the bundleId by appstore connect api?how to genarate a key for sign in with apple by appstore connect api?
How to edit bundleID cabability config by appstore connect api
 
 
Q