Chat now with support
Chat with Support

Identity Manager 8.1 - REST API Reference Guide

Example

https://<Hostname>/AppServer/api/assignments/PersonInOrg/UID_Org/007b7087-6881-44e7-8954-82374340718f

Body:

{"members": ["31d99791-d658-40d7-b5e5-58eecf998797"]}

Response:

{

"assigned": 0,

"removed": 1

}

Scripts

The One Identity Manager REST API allows you to run any script that is stored inside of the One Identity Manager database.

NOTE: The authenticated user must be entitled to use the Allow the starting of arbitrary scripts from the program function in order to execute a script.

Run script request

To run a script, use the URL <baseURL>/api/script/{name}

Table 37: Run script request

HTTP method

URI

Body

Put

<BaseURL>/api/script/{name}

{

"parameters": [

"Parameter value"],

"base": "XObjectKey",

"value": "Sample value"

}

Table 38: Run script parameters

Parameter

Description

Parameter type

Data type

name

Script name (required)

path

string

parameters

 

body

object[]

base

Object key of base object

body

string

value

Content of the value variable in the script

body

object

Body schema:

ScriptParameters {

parameters (object, optional),

base (string, optional): Object key of base object,

value (object, optional): Content of the Value variable in the script

}

Response schema:

ScriptResult {

result (object, optional): Return value of the script,

value (object, optional): Content of the Value variable in the script

}

Example 1

https://<Hostname>/AppServer/api/script/QER_GetWebBaseURL

Body:

{}

Response:

{

"result": "https://<Hostname>/IdentityManager/"

}

Related Documents