Update User ID Agent (v2.0)
PUT/v2.0/api/tenants/:tenant_id/useridagents/:id
Update User ID Agent
Request
Path Parameters
Tenant ID
User Agent ID
- application/json
Body
Details of the User ID Agent
authentication UserIDAgentAuthentication
The user ID agent authentication details.
Collector Name
Collector Secret
Collector Secret Encrypted: JsonIgnore(value = true)
Local Certificate
Local Private Key
Passphrase
Remote Ca Certificate
The user ID agent description.
The user ID agent enabled.
The ID.
The user ID agent name.
The user agent port range. Must be between 1 - 65535.
The server fqdn.
The user agent server IP.
The site ID.
The user agent server source interface.
An information field that can be added to identify the user agent. Maximum 10 unique tags of length 1024 each are allowed.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
authentication UserIDAgentAuthentication
The user ID agent authentication details.
Collector Name
Collector Secret
Collector Secret Encrypted: JsonIgnore(value = true)
Local Certificate
Local Private Key
Passphrase
Remote Ca Certificate
The user ID agent description.
The user ID agent enabled.
The ID.
The user ID agent name.
The user agent port range. Must be between 1 - 65535.
The server fqdn.
The user agent server IP.
The site ID.
The user agent server source interface.
An information field that can be added to identify the user agent. Maximum 10 unique tags of length 1024 each are allowed.
Tenant Id: NotNull Digits(fraction = 0, integer = 20, TENANT_ID_INVALID_0001)
{
"authentication": {
"collector_name": "string",
"collector_secret": "string",
"collector_secret_encrypted": "string",
"local_certificate": "string",
"local_private_key": "string",
"passphrase": "string",
"remote_ca_certificate": "string"
},
"enabled": true,
"id": "string",
"name": "string",
"port": 0,
"server_fqdn": "string",
"server_ip": "string",
"site_id": "string",
"source_interface": "string",
"tags": [
"string"
],
"tenant_id": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_JSON_EXTRA_ATTRIBUTE"
},
{
"code": "USER_AGENT_NO_HUB_FOUND_FOR_AGENT"
},
{
"code": "USER_AGENT_SITE_ID_INVALID"
},
{
"code": "USER_AGENT_SITE_NOT_FOUND"
},
{
"code": "USER_AGENT_CAN_BE_CONFIGURED_ON_HUB_SITE_ONLY"
},
{
"code": "USER_AGENT_PROFILE_IP_OR_FQDN_REQUIRED"
},
{
"code": "USER_AGENT_SITE_CANNOT_BE_CHANGED"
},
{
"code": "USER_AGENT_SITE_ID_REQUIRED"
},
{
"code": "USER_AGENT_INVALID_IP"
},
{
"code": "USER_AGENT_INVALID_PORT_RANGE"
}
]
}
}