Saltar al contenido principal
PUT
Switch the institution's result channel (Mensageria or DIRECT)

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

institutionId
string
requerido

The institution's unique identifier (UUID).

Ejemplo:

"550e8400-e29b-41d4-a716-446655440000"

Cuerpo

application/json
channel
string
requerido

Target channel: DIRECT or MENSAGERIA (exact, upper case).

Ejemplo:

"DIRECT"

Respuesta

OK

changed
boolean
requerido

False when the institution was already on the requested channel.

changedAt
string<date-time>
requerido

Instant of the request (UTC).

changedBy
string
requerido

Subject of the platform administrator who made the request.

channel
string
requerido

The channel now in charge.

institutionId
string
requerido

The institution's unique identifier.

previousChannel
string
requerido

The channel before the request (equal to channel when nothing changed).