DELETE /api/v1/users/{userId}/roles/{roleAssignmentId}/targets/groups/{groupId}

Unassigns a Group target from a USER_ADMIN, HELP_DESK_ADMIN, or GROUP_MEMBERSHIP_ADMIN Role Assignment to an admin User.

Note: You can't remove the last Group target from a Role Assignment since this causes an exception. If you need a Role Assignment that applies to all Groups, delete the Role Assignment to the User and recreate a new one.

Servers

Path parameters

Name Type Required Description
userId String Yes

ID of an existing Okta user

groupId String Yes

The id of the group

roleAssignmentId String Yes

The id of the Role Assignment

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.