What global permissions are required for profiles PUT request?

CH
Callum Haynes
Microlise Ltd.

I am trying to use the SOTI API to update packages in profiles and assign them to devices.

Using

PUT 

/profiles/{referenceId}/packages

and

PUT 

/profiles/{referenceId}/assignment

our user has the "View profiles" and "Manage profiles" permission as well as "View and deploy packages" and "Manage packages"

but we get response using Powershell

System.Net.WebException: The remote server returned an error: (405) Method Not Allowed.
6 years ago
Android
ANSWERS
CH
Callum Haynes
6 years ago

Permission screenshot

RC
Raymond Chan Diamond Contributor
6 years ago

I think you just need "Manage Profiles" global permission.  However, you also need per-group permissions for the device groups in which your target devices reside.

CH
Callum Haynes
6 years ago

Still having the same issue after trying this

RC
Raymond Chan Diamond Contributor
6 years ago (edited 6 years ago)

What per-group permissions have you enabled for the device group of interest?

Does your admin. account have the permissions to read/write the profile of interest?

CH
Callum Haynes
6 years ago

All permissions are enabled for the group

S
Scott
6 years ago

The 405 error frequently means you aren't using the right "verb".  The assignment and packages methods require you use "PUT" rather than "POST".  Are you?