> ## Documentation Index
> Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Realm



## OpenAPI

````yaml /api/en/radius.yaml patch /radius/realms/{id}
openapi: 3.0.3
info:
  title: Altostrat RADIUS API
  version: 1.0.0
  description: >-
    The Altostrat RADIUS API is the microservice responsible for managing
    network user identities, device authentication, and access control policies.


    **Base URL:** `https://v1.api.altostrat.io`


    This API allows you to programmatically manage:

    - **Accounts:** The identities connecting to the network (formerly Users).

    - **Account Containers:** Hierarchical organization units for accounts
    (folders/organizational units).

    - **Groups:** Collections of accounts that share common access policies.

    - **NAS Devices:** Network Access Servers (routers/APs) that authenticate
    clients.

    - **Tags:** Flexible labels for organizing resources.

    - **Realms:** Routing realms for authentication requests.

    - **Insights:** Network analytics and health metrics.
servers:
  - url: https://v1.api.altostrat.io
security:
  - bearerAuth: []
tags:
  - name: Platform
    description: General platform statistics and attribute definitions.
  - name: Account Containers
    description: Manage hierarchical containers for organizing accounts.
  - name: Accounts
    description: Manage RADIUS user accounts (identities).
  - name: Groups
    description: Manage policy groups.
  - name: NAS Devices
    description: Manage Network Access Servers.
  - name: Realms
    description: Manage authentication realms.
  - name: Tags
    description: Manage organizational tags.
  - name: Insights
    description: Analytical data and network health metrics.
  - name: Data Migration
    description: Tools for bulk-importing data.
  - name: Certificates
    description: PKI management for RadSec.
  - name: Logs
    description: Access audit and authentication logs.
paths:
  /radius/realms/{id}:
    patch:
      tags:
        - Realms
      summary: Update Realm
      parameters:
        - $ref: '#/components/parameters/RealmId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RealmUpdate'
      responses:
        '200':
          description: Realm updated.
components:
  parameters:
    RealmId:
      name: id
      in: path
      required: true
      schema:
        type: string
        pattern: ^rad_rlm_[A-Za-z0-9_\-]+$
  schemas:
    RealmUpdate:
      type: object
      properties:
        description:
          type: string
        group_ids:
          type: array
          items:
            type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````