KSC Open API
Kaspersky Security Center API description
OAuth2::UpdateClients ( array  pClients)

Updates OAuth2 clients

Parameters:
pClients(array) each element of array contains information about OAuth2 client (see "writable" attributes List of OAuth2 client attributes)

If "KLOAUTH2_CLIENT_ID" is empty, new client id will be genrated for the client. If "KLOAUTH2_CLIENT_SECRET" is empty, new client secret will be genrated for the client.

Generates event "KLOAUTH2_EVENT_CLIENTS_NEED_REGISTRATION" (see Event polling usage)