curl --request PATCH \
--url https://api.example.com/api/auth/register-switch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"success": true,
"registration_enabled": true,
"message": "<string>"
}curl --request PATCH \
--url https://api.example.com/api/auth/register-switch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true
}
'{
"success": true,
"registration_enabled": true,
"message": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.xagent.run/llms.txt
Use this file to discover all available pages before exploring further.