Skip to main content
PUT
Switch the institution's result channel (Mensageria or DIRECT)

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Path Parameters

institutionId
string
required

The institution's unique identifier (UUID).

Example:

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

Body

application/json
channel
string
required

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

Example:

"DIRECT"

Response

OK

changed
boolean
required

False when the institution was already on the requested channel.

changedAt
string<date-time>
required

Instant of the request (UTC).

changedBy
string
required

Subject of the platform administrator who made the request.

channel
string
required

The channel now in charge.

institutionId
string
required

The institution's unique identifier.

previousChannel
string
required

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