Change TDX user securityrole via API

I'm attempting to change a user's security role from 'Technician' to  'Client' using a patch but it does not seem to work. The API just returns back the same values with no errors.

Endpoint:

"https://my.tdx.com/SBTDWebApi/api/people/UID"

Patch:

[

  { "op": "replace", "path": "/SecurityRoleName", "value": "Client" },

]

If a patch cannot be used what is the recommend api endpoint to make the change?

Asked by Brian Kelly on Tue 9/17/24 11:51 AM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Tue 9/17/24 12:50 PM

Hi Brian,

The SecurityRoleName property is not editable via API. You can set the SecurityRoleID value though using the ID of the new security role.

Sincerely,
Mark Sayers
​​​​​​​Sr Support Consultant, CS

No feedback