Pular para o conteúdo principal
PUT
Switch the institution's result channel (Mensageria or DIRECT)

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Parâmetros de caminho

institutionId
string
obrigatório

The institution's unique identifier (UUID).

Exemplo:

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

Corpo

application/json
channel
string
obrigatório

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

Exemplo:

"DIRECT"

Resposta

OK

changed
boolean
obrigatório

False when the institution was already on the requested channel.

changedAt
string<date-time>
obrigatório

Instant of the request (UTC).

changedBy
string
obrigatório

Subject of the platform administrator who made the request.

channel
string
obrigatório

The channel now in charge.

institutionId
string
obrigatório

The institution's unique identifier.

previousChannel
string
obrigatório

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