HomeiOS Developmentios - The way to add UDID to current advert hoc profile,...

ios – The way to add UDID to current advert hoc profile, by way of API?


Is there a manner to do that by way of API? I’m able to add units to the account with the road beneath, however I might like to have the ability to add units to the provisioning profile by an automation device I am constructing with out having to navigate the Web site GUI.

Sadly we don’t qualify for Enterprise, however we do have new contractors becoming a member of the undertaking incessantly sufficient the place it ought to to be automated.

Add System to Account this works curl -v -X POST "https://api.appstoreconnect.apple.com/v1/units" -H "Authorization: Bearer ${token}" -H "Content material-Sort: utility/json" -d "{"knowledge": {"attributes": {"identify": "${device_name}","platform": "IOS","udid": "${udid}"},"sort": "units"}}"

I attempted the code beneath however received a 403.

Add System to Prov Profile this doesn’t work
curl -v -X PATCH "https://api.appstoreconnect.apple.com/v1/profiles/${profile_id}" -H "Authorization: Bearer ${token}" -H "Content material-Sort: utility/json" -d "{"knowledge": {"id": "${profile_id}","sort": "profiles","attributes": {"units": ["${udid}"]}}}"

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments