games.namespaces.addNamespaceDomain


Description

Adds a domain 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}/domains'

Request Parameters

game_id

required path parameter

namespace_id

required path parameter

Request Body

  • domain
    string

    A valid domain name (no protocol).


Response Body

Empty response body.