<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009B5XgOCAVOkta Classic EngineLifecycle ManagementAnswered2024-08-30T09:00:08.000Z2023-05-10T06:11:49.000Z2023-05-11T15:41:47.000Z

2xg0f (2xg0f) asked a question.

How to Convert an Existing User's App Assignment from Group-Owned to Individually-Owned Type without Removing User's Group Membership via API

I am trying to unassign users from an application but it gives me the following error when I call the api:

 

{

"errorCode": "E0000046",

"errorSummary": "Deactivate application for user forbidden.",

"errorLink": "E0000046",

"errorId": "oaeCUDm0L3gSx6kGe0DqEnCrg",

"errorCauses": [

{

"errorSummary": "The application cannot be unassigned from the user while their group memberships grant them access."

}

]

}

 

While on the UI, I see an option to change the Assignment Master from Group to Administrator, I could not find any api to do the same.

I do not want to remove the user from group, just need unassign some applications.


  • Hello @2xg0f (2xg0f)​  Thank you for reacting out to our Community!

     

    At this time there is no such API, however you can add a Feature Request on our Idea section, for a chance that this functionality to be added in the future.

    https://support.okta.com/help/s/ideas

     

    Community members help others by clicking Like or Select as Best on responses. Try it today.

    Expand Post
This question is closed.
Loading
How to Convert an Existing User's App Assignment from Group-Owned to Individually-Owned Type without Removing User's Group Membership via API