def METHOD_NAME(workspace, token):
    response = click.confirm(
        "devdata/env.json does not exist - do you want to create it ?", default=True
    )
    if response:
        OperatingSystem().create_file("devdata/env.json")
        content = {}
        content["RC_WORKSPACE_ID"] = workspace
        content["RC_API_SECRET_TOKEN"] = token
        content["RC_API_SECRET_HOST"] = PROD_API_URL
        with open("devdata/env.json", "w", encoding="utf-8") as fout:
            fout.write(json.dumps(content, sort_keys=False, indent=4))