---
title: "/olts/{olt_id}/onts/authorize_or_reconfigure"
method: POST
path: "/olts/{olt_id}/onts/authorize_or_reconfigure"
---

# /olts/{olt_id}/onts/authorize_or_reconfigure

`POST /olts/{olt_id}/onts/authorize_or_reconfigure`

## Request

- Base URL: `https://www.cloud.wispro.co/api/v1`
- URL: `https://www.cloud.wispro.co/api/v1/olts/{olt_id}/onts/authorize_or_reconfigure`
- Auth: API key in header `Authorization`

Autoriza una ONT en la OLT y la vincula a un contrato. Si la ONT ya estaba autorizada, la reconfigura (por ejemplo, al cambiar de interface GPON). El tiempo de respuesta depende de la OLT.

## Request body

- object
  - `ont` object, required: Datos de la ONT a autorizar o reconfigurar.
    - `contract_id` string, required: UUID del contrato al que se vincula la ONT.
    - `serial` string, required: Serial de la ONT.
    - `interface` string, required: Interface GPON donde está conectada. Ejemplo: 0/0/4:2
    - `mac_address` string: Solo para OLT EPON, donde reemplaza al serial.
    - `action` string: Acción a aplicar sobre la ONT.

## Response `200`

200

- object
  - `name` string, required

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `c529f40b988b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wispro/apis/wispro-api-v1/changes/olts/:olt_id/onts/authorize_or_reconfigure/post.md)

---

[API](https://skmtc.dev/wispro/apis/wispro-api-v1.md) - [All operations](https://skmtc.dev/wispro/apis/wispro-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/wispro/apis/wispro-api-v1/revisions/c529f40b988b?raw)
