games.namespaces.toggleNamespaceDomainPublicAuth
Description
Toggles whether or not to allow authentication based on domain for the given game namespace.
Code Examples
Request
PUT
https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/domain-public-auth# 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
Path parameter, required
namespace_id
Path parameter, required
Request Body
enabled
boolean
(required)
Whether or not to enable authentication based on domain.
Response Body
Empty response body.