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
required path parameter
namespace_id
required path parameter
Request Body
enabled
required boolean
Whether or not to enable authentication based on domain.
Response Body
Empty response body.