Skip to main content
PUT
/
workspace
/
{workspace_id}
/
realtime
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": [
    {
      "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
    }
  ]
}'
{
  "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
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
integer
required

Body

enabled
boolean
hash
string
channels
object[]

Response

Success!

enabled
boolean
hash
string
default:Dl3HlakmBZDhezv6yml7hliTM20
channels
object[]
I