Skip to main content
POST
/
api
/
v1
/
config
/
reload
Reload config
curl --request POST \
  --url http://localhost:3000/api/v1/config/reload \
  --header 'Authorization: Bearer <token>'
{
  "ok": true,
  "data": {
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.

Response

Configuration reloaded successfully

ok
boolean
required
data
object
required