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

Assigns a Group target for a USER_ADMIN, HELP_DESK_ADMIN, or GROUP_MEMBERSHIP_ADMIN Role Assignment to an admin User. When you assign the first Group target, you reduce the scope of the Role Assignment. The Role no longer applies to all targets but applies only to the specified target.

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.