ByteChef LogoByteChef
Frontend (Signing Key JWT)Connections

Reauthorize a connection

Replace the credentials of a connection owned by the authenticated connected user, keeping its id. The supplied parameters replace the connection's authorization parameters wholesale: a parameter that is not supplied is cleared, not preserved, so submit the complete authorization parameter set. Connection-level properties are untouched. A successful call also marks the connection's credentials valid again.

POST
/connections/{id}/reauthorize

Authorization

jwtBearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*integer

The id of a connection.

Formatint64

Header Parameters

X-Environment?string

The environment.

Value in

  • "DEVELOPMENT"
  • "STAGING"
  • "PRODUCTION"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/connections/0/reauthorize" \  -H "Content-Type: application/json" \  -d '{    "parameters": {}  }'
Empty

How is this guide?