games.namespaces.updateNamespaceCdnAuthUser


Description

Adds an authenticated user to the given game namespace.


Code Examples

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

Request Parameters

game_id

required path parameter

namespace_id

required path parameter

Request Body

  • user
    string

    A user name.

  • password
    string

    A bcrypt encrypted password. An error is returned if the given string is not properly encrypted.


Response Body

Empty response body.