edit api_activation