Update email profile
PUT/logging-service/logforwarding/v1/email-profiles/:profileId
Update an email profile using the etag obtained from retrieving the email profile by its profile ID. You can change only the destination and logtype fields. You can not change the profileType.
Request
Path Parameters
The ID of the profile you want to update.
Header Parameters
Tag required to update the profile.
- application/json
Body
required
New profile value
- Array [
- ]
destination objectrequired
Profile name and email recipient information.
Additional addresses to receive the emails. Max of 10.
Name of the profile.
Subject to appear in the emails.
Email address of the recipient.
logtypes object[]required
The parameters used to specify the logs that you want to send.
True
sends all log fields. False
sends a subset of log fields.
The specific log fields you do not want to send. Does nothing if the same field is present in includedColumns
.
The filter query used to send a subset of logs.
The specific log fields you want to send. Does nothing if allColumns
is True
.
The log type that you want to send.
Responses
- 200
- 400
- 404
- 429
- 500
- 503
Request successfully processed
Invalid input
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
Profile does not exists
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
Too many requests
LogForwarding Service internal error
- application/json
- Schema
- Example (from schema)
Schema
Server error code
A message describing the error code
{
"errorCode": 0,
"errorMessage": "string"
}
LogForwarding Service is not available