JOC API

Version 2.4.1

Download RAML
JOC API
/iam/sessions/cancel
POST

Cancel sessions


Parameters in the POST body schema

Name Type Description Example Default
accountNames optional, array[string] A collection with account names. All active sessions for this account will be cancelled.
["myAccount","anotherAccount"]
ids optional, array[string] A collection with session ids (not the access tokens!). All active sessions for these ids will be cancelled.
["4ea01a14-b353-48d6-8633-a690da29b2b4","3c225aee-496e-4d0d-a10e-6f36cbf6c4b7"]
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.