\api\session\kick

Discussion in 'Automobilista 2 - Help & Support' started by KingJareth, Dec 12, 2023.

  1. KingJareth

    KingJareth New Member

    Joined:
    Dec 12, 2023
    Messages:
    26
    Likes Received:
    13
    I understand /api/session/advance and api\restart but how do you use api/session/kick?

    Code:
    name: "api/session/kick",
    [LIST]
    description: "Kick and optionally temporary-ban specified session member",
    access: "admin",
    responsetype: "json",
    parameters: [
    {
    name: "refid",
    type: "int",
    optional: false,
    description: "RefId of the member to kick"
    },
    {
    name: "ban",
    type: "int",
    optional: true,
    description: "Time of temporary ban from the server, in seconds"
    }
    ],
    response: [ ]
    [/LIST]
     

Share This Page