JOC API

Version 2.6.5

Download RAML
JOC API
/iam/folders/store
POST

Stores folders to a given role and Controller ID


Parameters in the POST body schema

Name Type Description Example Default
identityServiceName required, string The name of the idendityService that should be considered for this call myService
roleName required, string The name of the role for which the folders should be stored myRole
controllerId required; string The Controller ID for which the folders should be stored myControllerId
folders required, array[object] A collection with folders objects that should be assigned to the role and Controller ID. If the folder already exists, it will be updated. If the folder does not exist it will be added. Folders that are already assigned and are not in the collection, will not be deleted. As a result the role will have the folders in this collection and the folders that did already exist. [{
"folder": "/path/to/myNewfolder",
"recursive": true
}]
folder required, string The absolute path of the folder
recursive optional, boolean The new recursive of the folder false
auditLog optional, object Object that contains comment, timeSpent and ticketLink.
{
  "comment": "Operational requirement!",
  "timeSpent": 2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes.
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.