https://<Hostname>/AppServer/api/assignments/PersonInOrg/UID_Org/007b7087-6881-44e7-8954-82374340718f
{"members": ["31d99791-d658-40d7-b5e5-58eecf998797"]}
{
"assigned": 0,
"removed": 1
}
The One Identity Manager REST API allows you to execute any script that is stored inside of the One Identity Manager database.
|
NOTE: The authenticated user must be entitled to use the program function "Allow the starting of arbitrary scripts from the frontend" in order to execute a script. |
To execute a script, use the URL: <baseURL>/api/script/{name}
HTTP Method |
URI |
Body |
---|---|---|
Put |
<BaseURL>/api/script/{name} |
{ "parameters": [ "Parameter value"], "base": "XObjectKey", "value": "Sample value" } |
Parameter |
Description |
Parameter Type |
Data Type |
---|---|---|---|
name |
Script name (mandatory) |
path |
string |
parameters |
|
body |
object[] |
base |
Object key of base object |
body |
string |
value |
Content of the value variable in the script |
body |
object |
ScriptParameters {
parameters (object, optional),
base (string, optional): Object key of base object,
value (object, optional): Content of the Value variable in the script
}
ScriptResult {
result (object, optional): Return value of the script,
value (object, optional): Content of the Value variable in the script
}
https://<Hostname>/AppServer/api/script/QER_GetWebBaseURL
{}
{
"result": "https://<Hostname>/IdentityManager/"
}
© 2021 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy