KSC Open API  13.1
Kaspersky Security Center API description
OAuth2::UpdateResServers ( array  pResServers)

Updates OAuth2 resource servers

Parameters:
pResServers(array) each element of array contains information about OAuth2 resource server (see "writable" attributes List of OAuth2 resource server attributes)

If "KLOAUTH2_RESSERVER_AUTH_CERT" is empty, new certificate will be generated for the resource server.

Generates event "KLOAUTH2_EVENT_RES_SERVERS_NEED_REGISTRATION" (see Event polling usage).