createServiceToken
Description
Creates a new environment service token.
Code Examples
Request
POST
https://api.rivet.gg/games/{game_id}/environments/{environment_id}/tokens/servicecurl -X POST 'https://api.rivet.gg/games/{game_id}/environments/{environment_id}/tokens/service'
Request Parameters
game_id
required path parameter
environment_id
required path parameter
Response Body
token
required string
A JSON Web Token.