def METHOD_NAME(token_details: TokenDetails, debug: bool = False) -> bool:
    try:
        response = requests.post(backend_profile.robusta_store_token_url, json=token_details.dict())
        if debug and response.status_code != 201:
            typer.secho(f"Failed to store server token. status-code {response.status_code} text {response.text}")
        return response.status_code == 201
    except Exception:
        if debug:
            typer.secho(f"Error trying to store server token. {traceback.format_exc()}")
        return False