games.namespaces.toggleNamespaceDomainPublicAuth


Description

Toggles whether or not to allow authentication based on domain for the given game namespace.


Code Examples

# Write the request body to body.json before running
curl -X PUT -d '@body.json' 'https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/domain-public-auth'

Request Parameters

game_id

required path parameter

namespace_id

required path parameter

Request Body

  • enabled
    boolean

    Whether or not to enable authentication based on domain.


Response Body

Empty response body.