we are currently implementing a custom UI for the Identity Management based on the RestAPI v72alpha and are stuck with assigning roles (MX_ROLE) to an identity. While we are able to assign roles with a validity and reason, the API fails to assign the roles with a context.

44 is the MSKEY of the role. The role is enabled for the context-type of the context 223 (tested in the default UI)

223 is the context ID

Does anyone have a suggestion/idea/example of this working? Maybe use a different task, as this task does not allow context based assignment within the standard UI. For this we use a guided task, which I'm not sure on how to address it with the Rest API.