Skip to content

Create Rollback.

POST
/api/admin/logging-policies/rows/{rowId}/rollback
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/logging-policies/rows/example/rollback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "confirmation": "CONFIRM LOGGING POLICY ROLLBACK" }'

Create Rollback in the Logging - Policies area. The request body is JSON unless the detailed schema for this operation states otherwise.

rowId
required
string
Media type application/json
object
confirmation
string
key
additional properties
Example
{
"confirmation": "CONFIRM LOGGING POLICY ROLLBACK"
}

Successful JSON response.

Media type application/json
object
item
required
object
key
additional properties
audit_id
One of:
string
version
integer
key
additional properties
Example
{
"item": {
"id": "pol_123",
"tenant_id": "tenant_123",
"log_type": "security",
"plane": "control",
"destination_id": "dest_123",
"fallback_policy_id": null,
"enabled": 1,
"managed_by": "platform",
"change_protection": "confirm",
"approval_policy_id": null,
"policy_hash": "sha256:abc123",
"version": 1,
"created_at": 1770000000000,
"updated_at": 1770000000000
},
"audit_id": "audit_123",
"version": 1
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}