cURL
curl --request PUT \ --url https://app.kosli.com/api/v2/environments/{org}/{env_name}/rename \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "new_name": "<string>" } '
{ "message": "<string>", "errors": {} }
Rename an environment
Documentation IndexFetch the complete documentation index at: https://docs.kosli.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.kosli.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
New environment name
Successful environment rename