API
cloud.games.namespaces.setNamespaceCdnAuthType
API
cloud.games.namespaces.setNamespaceCdnAuthType
Updates the CDN authentication type of the given game namesapce.
PUT https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/cdn-auth
curl -X PUT -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/cdn-auth'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
game_idrequired
string
namespace_idrequired
string
Body
auth_typerequired
string
A value denoting what type of authentication to use for a game namespace's CDN.
Available options:
none
, basic
curl -X PUT -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/cdn-auth'