document/content/docs/self-host/upgrading/4-12/4124.en.mdx
This script only needs to be run by commercial edition users.
From any terminal, send an HTTP request. Replace {{rootkey}} with the rootkey from your environment variables, and {{host}} with your FastGPT domain.
curl --location --request POST 'https://{{host}}/api/admin/initv4124' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'
Script Functions