Audit-API

Update the audit source

post/inlong/manager/api/audit/updateSource

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

enableAuthinteger

Enable auth or not, 0: disable, 1: enable

namestring

Audit source name

offlineUrlstring

Offline the url if not null

tokenstring

Audit source token, needed if enableAuth is 1

typestring required

Audit source type, including: MYSQL, CLICKHOUSE, ELASTICSEARCH

urlstring required

Audit source URL, for MYSQL or CLICKHOUSE, is jdbcUrl, and for ELASTICSEARCH is the access URL with hostname:port

usernamestring

Audit source username, needed if enableAuth is 1

versioninteger

Version number

Response

OK

datainteger
errMsgstring
successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.