Partially updates an audit log sink. Fields not included in the payload retain their existing values.
Required permission
Account > Admin > AuditLogSinks > Update
Path parameters
sinkId
string requiredID of the audit log sink
Request body
- {object}Patch an audit log sink
description
stringmax length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$sinkData
{object}AWS S3 sinkData (PATCH variant — all fields optional).endpoint
stringregion
stringbucket
stringpathPrefix
stringcompression
stringone ofgzip, noneauth
{object}accessKeyId
stringsecretAccessKey
stringincludeSpec
boolean
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredIdentifier for the audit log sink.name
string requiredName of the audit log sink.description
stringDescription of the audit log sink.max length200pattern^[a-zA-Z0-9.,?\s\\/'"()[\];`%^&*\-_:!]+$sinkType
string requiredThe type of the audit log sink.one ofaws_s3includeSpec
boolean requiredWhether exported events include the enriched `before`/`after` spec or only headers.status
string requiredCurrent status of the audit log sink.one ofpaused, running, failing, creatingcreatedAt
string requiredTimestamp of when the audit log sink was created.updatedAt
string requiredTimestamp of when the audit log sink was last updated.sinkData
{object} requiredConfiguration of the destination. Secrets are omitted.endpoint
string requiredregion
string requiredbucket
string requiredpathPrefix
stringcompression
string requiredone ofgzip, noneauth
{object} requiredAuthentication object (secret omitted).accessKeyId
string required
API
CLI
JS Client
PATCH /v1/integrations/audit-log-sinks/{sinkId}
PATCH /v1/teams/{teamId}/integrations/audit-log-sinks/{sinkId}
Example request
Request body
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request PATCH \
--data '{}' \
https://api.northflank.com/v1/integrations/audit-log-sinks/{sinkId}Example response
200 OK
Details about the updated sink.
JSON
{
"data": {
"id": "compliance-bucket",
"name": "compliance-bucket",
"description": "Forwards audit logs to the compliance S3 bucket.",
"sinkType": "aws_s3",
"includeSpec": false,
"createdAt": "2026-05-11T12:00:00.000Z",
"updatedAt": "2026-05-11T12:00:00.000Z"
}
}