What global permissions are required for profiles PUT request?

What global permissions are required for profiles PUT request?

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 Answers

Order By:   Standard | Newest | Votes
Callum Haynes | posted this 30 July 2019

Permission screenshot

  • 0
  • 0
Raymond Chan | posted this 30 July 2019

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.

 

  • 0
  • 0
Callum Haynes | posted this 30 July 2019

Still having the same issue after trying this

  • 0
  • 0
Raymond Chan | posted this 30 July 2019

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?

  • 0
  • 0
Callum Haynes | posted this 30 July 2019

All permissions are enabled for the group

  • 0
  • 0
Scott | posted this 06 August 2019

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?

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback