Autional Autional
API Reference GitHub autional.com →

PUT /admin/policies/nhi

Update the NHI (Non-Human Identity) policy configuration for the current tenant

NHI Management `bearerAuth` application/json

Request Body

Schema: dto.NHIPolicyRequest

FieldTypeRequiredExampleConstraintsDescription
agent_default_ttl string No 1h
agent_max_count integer No 100
device_max_per_owner integer No 10
robot_max_count integer No 100
rotation_days_default integer No 90

Responses

StatusDescriptionSchema
200Updated NHI policydto.NHIPolicyResponseWrapper

Referenced Schemas

dto.NHIPolicyResponse

NHI (Non-Human Identity) policy configuration

FieldTypeRequiredExampleConstraintsDescription
agent_default_ttl string No 1h
agent_max_count integer No 100
device_max_per_owner integer No 10
robot_max_count integer No 100
rotation_days_default integer No 90
updated_at string No 2026-06-09T10:30:00Z

dto.NHIPolicyResponseWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No
data dto.NHIPolicyResponse No
message string No
timestamp string No