curl --request PUT \
--url https://x8ki-letl-twmt.n7.xano.io/api:meta/workspace/{workspace_id}/realtime \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"hash": "<string>",
"channels": [
{
"pattern": "<string>",
"anonymous_clients": true,
"client_authenticated_messaging": true,
"client_private_messaging": true,
"client_private_messaging_authenticated_only": true,
"client_public_messaging": true,
"client_public_messaging_authenticated_only": true,
"description": "<string>",
"enabled": true,
"history": 0,
"id": 123,
"presence": true,
"wildcard": true
}
]
}
'{
"enabled": true,
"hash": "Dl3HlakmBZDhezv6yml7hliTM20",
"channels": [
{
"anonymous_clients": true,
"client_authenticated_messaging": true,
"client_private_messaging": true,
"client_private_messaging_authenticated_only": true,
"client_public_messaging": true,
"client_public_messaging_authenticated_only": true,
"description": "<string>",
"enabled": true,
"id": 123,
"pattern": "<string>",
"presence": true,
"wildcard": true
}
]
}Update real-time settings and connection configuration
curl --request PUT \
--url https://x8ki-letl-twmt.n7.xano.io/api:meta/workspace/{workspace_id}/realtime \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"enabled": true,
"hash": "<string>",
"channels": [
{
"pattern": "<string>",
"anonymous_clients": true,
"client_authenticated_messaging": true,
"client_private_messaging": true,
"client_private_messaging_authenticated_only": true,
"client_public_messaging": true,
"client_public_messaging_authenticated_only": true,
"description": "<string>",
"enabled": true,
"history": 0,
"id": 123,
"presence": true,
"wildcard": true
}
]
}
'{
"enabled": true,
"hash": "Dl3HlakmBZDhezv6yml7hliTM20",
"channels": [
{
"anonymous_clients": true,
"client_authenticated_messaging": true,
"client_private_messaging": true,
"client_private_messaging_authenticated_only": true,
"client_public_messaging": true,
"client_public_messaging_authenticated_only": true,
"description": "<string>",
"enabled": true,
"id": 123,
"pattern": "<string>",
"presence": true,
"wildcard": true
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
0, 25, 50, 100, 250, 1000 Success!
Show child attributes
Was this page helpful?