Rensei docs
API ReferenceWorker Protocol

Refresh expired runtime JWT

Refresh expired runtime JWT - Rensei REST API operation reference.

POST
/api/workers/{id}/refresh-token

Authorization

AuthorizationBearer <token>

Project-scoped worker registration token. Current handlers accept this only where explicitly listed.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/workers/string/refresh-token"
{
  "runtimeToken": "string",
  "expiresAt": "2019-08-24T14:15:22Z"
}
{
  "error": "Session not found"
}
{
  "error": "Session not found"
}