Discussions

Ask a Question
Back to all

Security Role UUID not working

I'm using the staff.json to programatically create and update the staff objects. However, while I am successfully able to create new and modify existing staff objects, the security role UUID (key: security_role_uuuid) is being completely ignored. There are no error messages. Here is an example of the body:


body	{"first":"Frankie","last":"Test","email":"frankie.test@workm8s.com","security_role_uuid":"705fc70f-d134-468a-9d9a-226d5ad7fecb"

The security_role_uuid field is being completed ignored, and in the UI the role appears as "0". I've tried via an OAUTH and API Key and the result is the same, the security_role_uuid is being ignored.

The only way I can update the staff security role is via the ServiceM8 UI, e.g, Settings > Staff.