JOC API

Version 2.8.2

Download RAML
JOC API
/inventory/repository/unlink
POST

Unlinks an existing local clone from an git controlled JOC folder.


Parameters in the POST body schema

Name Type Description Example Default
folder required, string The top level JOC folder that should be linked again to a local git clone in the repositories folder on the file system.
deleteRepository optional, boolean If set to true the cloned repository will be reomved from the file system also. Cannot be linked again. 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.