PUT /api/v1/users/{userId}/roles/{roleAssignmentId}/targets/catalog/apps/{appName}

Assigns an OIN app target for an APP_ADMIN Role Assignment to an admin User. When you assign the first app target, you reduce the scope of the Role Assignment. The Role no longer applies to all app targets, but applies only to the specified target. Assigning an OIN app target overrides any existing app instance targets of the OIN app. For example, if a user was assigned to administer a specific Facebook instance, a successful request to add an OIN app target with facebook for appName makes that user the administrator for all Facebook instances.

Servers

Path parameters

Name Type Required Description
userId String Yes

ID of an existing Okta user

roleAssignmentId String Yes

The id of the Role Assignment

appName String Yes

Application name for the app type

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.